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.4 -r1.5
--- openacs-4/packages/acs-kernel/sql/postgresql/acs-objects-create.sql	17 Mar 2001 19:53:24 -0000	1.4
+++ openacs-4/packages/acs-kernel/sql/postgresql/acs-objects-create.sql	17 Mar 2001 20:21:36 -0000	1.5
@@ -734,7 +734,7 @@
     -- Native Dynamic SQL, to ascertain the name of this object.
     --
     --execute ''select '' || object_type.name_method || ''(:1) from dual''
-    for obj in execute ''select '' || obj_type.name_method || ''('' || name_object_id || '') as object_name'' loop
+    for obj in execute ''select '' || obj_type.name_method || ''('' || name__object_id || '') as object_name'' loop
         object_name := obj.object_name;
         exit;
     end loop;
