Index: openacs-4/packages/acs-content-repository/sql/oracle/content-symlink.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/oracle/content-symlink.sql,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/acs-content-repository/sql/oracle/content-symlink.sql	23 Jan 2004 05:14:19 -0000	1.4
+++ openacs-4/packages/acs-content-repository/sql/oracle/content-symlink.sql	23 Jan 2004 05:25:26 -0000	1.5
@@ -168,7 +168,7 @@
 
 
       select
-        i.name content_symlink.resolve(i.item_id), s.label
+        i.name, content_symlink.resolve(i.item_id), s.label
       into
         v_name, v_target_id, v_label
       from
@@ -178,12 +178,8 @@
       and
         s.symlink_id = copy.symlink_id;
 
-    if copy.name = '' then
-      copy.name := NULL;
-    end if;
-
 -- can't copy to the same folder
-    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 copy.name is not null then
       v_name := copy.name;
