Index: openacs-4/packages/acs-kernel/sql/postgresql/site-nodes-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/site-nodes-create.sql,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/acs-kernel/sql/postgresql/site-nodes-create.sql	8 Apr 2001 11:41:48 -0000	1.7
+++ openacs-4/packages/acs-kernel/sql/postgresql/site-nodes-create.sql	9 Apr 2001 04:55:14 -0000	1.8
@@ -101,7 +101,8 @@
         clr_keys_p      boolean default ''t'';
 begin
         if new.node_id = old.node_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;
 
