Index: openacs-4/packages/project-manager/sql/postgresql/upgrade/upgrade-3.1d11-3.1d12.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/sql/postgresql/upgrade/upgrade-3.1d11-3.1d12.sql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/project-manager/sql/postgresql/upgrade/upgrade-3.1d11-3.1d12.sql	10 May 2006 19:40:52 -0000	1.1
+++ openacs-4/packages/project-manager/sql/postgresql/upgrade/upgrade-3.1d11-3.1d12.sql	10 May 2006 20:35:06 -0000	1.2
@@ -115,19 +115,19 @@
         perform acs_rel__new (
                          null,
                          ''application_data_link'',
-                         lp.task_item_id,
-                         lp.logger_entry,
-                         lp.task_item_id,
+                         ct.task_item_id,
+                         ct.logger_entry,
+                         ct.task_item_id,
                          null,
                          null
         );
 
         perform acs_rel__new (
                          null,
                          ''application_data_link'',
-                         lp.logger_entry,
-                         lp.task_item_id,
-                         lp.task_item_id,
+                         ct.logger_entry,
+                         ct.task_item_id,
+                         ct.task_item_id,
                          null,
                          null
         );
