Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql,v
diff -u -r1.22 -r1.23
--- openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql	8 Dec 2001 01:17:59 -0000	1.22
+++ openacs-4/packages/acs-content-repository/sql/postgresql/content-type.sql	26 Aug 2002 17:02:38 -0000	1.23
@@ -480,7 +480,7 @@
   end LOOP;
 
   return ''insert into '' || v_table_name || 
-    '' ( '' || v_id_column || cols || '' ) values (new.revision_id'' ||
+    '' ( '' || v_id_column || cols || '' ) values (cr_dummy.val'' ||
     vals || '')'';
   
 end;' language 'plpgsql';
