Index: openacs-4/packages/acs-kernel/sql/postgresql/acs-objects-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/acs-objects-create.sql,v
diff -u -r1.15 -r1.16
--- openacs-4/packages/acs-kernel/sql/postgresql/acs-objects-create.sql	3 Apr 2001 23:59:56 -0000	1.15
+++ openacs-4/packages/acs-kernel/sql/postgresql/acs-objects-create.sql	8 Apr 2001 16:13:53 -0000	1.16
@@ -269,7 +269,8 @@
         clr_keys_p      boolean default ''t'';
 begin
         if new.object_id = old.object_id and 
-           new.context_id = old.context_id then
+           ((new.context_id = old.context_id) or
+            (new.context_id is null and old.context_id is null)) then
 
            return new;
 
