Index: openacs-4/packages/cms/sql/postgresql/cms-permissions.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/cms/sql/postgresql/cms-permissions.sql,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/cms/sql/postgresql/cms-permissions.sql	8 Jun 2001 01:44:53 -0000	1.6
+++ openacs-4/packages/cms/sql/postgresql/cms-permissions.sql	26 Nov 2001 21:43:16 -0000	1.7
@@ -712,7 +712,7 @@
         new.item_id, v_user_id, ''cm_write''
        ) = ''f'' 
     then
-      acs_permission__grant_permission (
+      perform acs_permission__grant_permission (
         new.item_id, v_user_id, ''cm_write''
       );
     end if;
@@ -721,7 +721,7 @@
         new.item_id, v_user_id, ''cm_perm''
        ) = ''f'' 
     then
-      acs_permission__grant_permission (
+      perform acs_permission__grant_permission (
         new.item_id, v_user_id, ''cm_perm''
       );
     end if; 
