Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-extlink.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-extlink.sql,v
diff -u -N -r1.18 -r1.18.2.1
--- openacs-4/packages/acs-content-repository/sql/postgresql/content-extlink.sql	13 Jan 2005 13:55:12 -0000	1.18
+++ openacs-4/packages/acs-content-repository/sql/postgresql/content-extlink.sql	19 Apr 2006 12:10:49 -0000	1.18.2.1
@@ -215,7 +215,7 @@
 	
 	-- copy to a different folder, or same folder if name
 	-- is different
-    if copy__target_folder_id != v_current_folder_id  or ( v_name <> copy_name and copy_name is not null ) then
+    if copy__target_folder_id != v_current_folder_id  or ( v_name <> copy__name and copy__name is not null ) then
 
       if content_folder__is_registered(copy__target_folder_id,
         ''content_extlink'',''f'') = ''t'' then
