Index: openacs-4/packages/lors/sql/postgresql/lors-imscp-package-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/lors/sql/postgresql/lors-imscp-package-create.sql,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/lors/sql/postgresql/lors-imscp-package-create.sql	17 May 2005 16:35:10 -0000	1.4
+++ openacs-4/packages/lors/sql/postgresql/lors-imscp-package-create.sql	7 Jun 2006 13:45:20 -0000	1.5
@@ -215,7 +215,7 @@
     p_item_id        alias for $1;
 begin
         perform acs_object__delete(p_item_id);
-        delete from ims_cp_items where item_id = p_item_id;
+        delete from ims_cp_items where ims_item_id = p_item_id;
         return 0;
 end;
 ' language 'plpgsql';
