Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.0.0-5.1.0d1.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.0.0-5.1.0d1.sql,v
diff -u -r1.6.2.2 -r1.6.2.3
--- openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.0.0-5.1.0d1.sql	19 Apr 2004 09:55:13 -0000	1.6.2.2
+++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.0.0-5.1.0d1.sql	3 Aug 2005 01:27:23 -0000	1.6.2.3
@@ -613,7 +613,7 @@
    -- update the parent_id for the folder
    update cr_items 
      set parent_id = move__target_folder_id,
-         name = coalesce ( move_name, name )
+         name = coalesce ( move__name, name )
      where item_id = move__folder_id;
 
   -- update the has_child_folders flags
