Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-create.sql,v
diff -u -r1.9 -r1.10
--- openacs-4/packages/acs-content-repository/sql/postgresql/content-create.sql	7 Apr 2001 15:54:55 -0000	1.9
+++ openacs-4/packages/acs-content-repository/sql/postgresql/content-create.sql	9 Apr 2001 04:55:14 -0000	1.10
@@ -244,7 +244,8 @@
         clr_keys_p      boolean default ''t'';
 begin
         if new.item_id = old.item_id and 
-           new.parent_id = old.parent_id then
+           ((new.parent_id = old.parent_id) or
+            (new.parent_id is null and old.parent_id is null)) then
 
            return new;
 
