Index: openacs-4/packages/edit-this-page/sql/oracle/edit-this-page-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/edit-this-page/sql/oracle/edit-this-page-create.sql,v
diff -u -r1.9 -r1.10
--- openacs-4/packages/edit-this-page/sql/oracle/edit-this-page-create.sql	30 Sep 2003 12:10:07 -0000	1.9
+++ openacs-4/packages/edit-this-page/sql/oracle/edit-this-page-create.sql	16 Oct 2003 14:58:25 -0000	1.10
@@ -74,8 +74,8 @@
         select attr_value
         into v_value
         from acs_attribute_values
-        where object_id = object_id
-        and attribute_id = attribute_id;
+        where object_id = get_attribute_value.object_id
+        and attribute_id = get_attribute_value.attribute_id;
         return v_value;
         exception when no_data_found then return null;
     end get_attribute_value;