Index: openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.0.0b3-5.0.0b4.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.0.0b3-5.0.0b4.sql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.0.0b3-5.0.0b4.sql	11 Dec 2003 21:39:52 -0000	1.2
+++ openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.0.0b3-5.0.0b4.sql	14 Jan 2004 17:35:48 -0000	1.3
@@ -644,7 +644,7 @@
 	singleton_p__package_key        alias for $1;
         v_singleton_p                   integer;
 begin
-        select count(*) > 0 into v_singleton_p
+        select count(*) into v_singleton_p
 	from apm_package_types
 	where package_key = singleton_p__package_key
         and singleton_p = ''t'';
