Index: openacs-4/packages/acs-content-repository/sql/oracle/content-item.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/content-item.sql,v
diff -u -r1.21 -r1.22
--- openacs-4/packages/acs-content-repository/sql/oracle/content-item.sql	12 Mar 2004 18:48:46 -0000	1.21
+++ openacs-4/packages/acs-content-repository/sql/oracle/content-item.sql	9 Apr 2004 14:00:11 -0000	1.22
@@ -111,7 +111,7 @@
     v_parent_id := parent_id;
   end if;
 
-  if package_id is null then
+  if package_id is null and parent_id ^= 0 then
     v_package_id := acs_object.package_id(content_item.get_root_folder(v_parent_id));
   else
     v_package_id := package_id;
