Index: openacs-4/packages/acs-events/sql/postgresql/activity-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-events/sql/postgresql/activity-create.sql,v
diff -u -r1.11 -r1.12
--- openacs-4/packages/acs-events/sql/postgresql/activity-create.sql	12 Jul 2018 11:50:16 -0000	1.11
+++ openacs-4/packages/acs-events/sql/postgresql/activity-create.sql	3 Sep 2024 15:37:33 -0000	1.12
@@ -328,8 +328,8 @@
        where activity_id  = edit__activity_id;
 
        update acs_objects
-       set    title = coalesce(edit__name, name)
-       where activity_id  = edit__activity_id;
+       set    title = coalesce(edit__name, title)
+       where  object_id = edit__activity_id;
 
        return 0;
 
