Index: openacs-4/packages/photo-album/www/album-move.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/album-move.tcl,v diff -u -N -r1.5 -r1.6 --- openacs-4/packages/photo-album/www/album-move.tcl 6 Sep 2013 17:17:43 -0000 1.5 +++ openacs-4/packages/photo-album/www/album-move.tcl 14 Oct 2013 17:56:29 -0000 1.6 @@ -91,11 +91,11 @@ set folder_name [db_string folder_name " select name from cr_items where item_id = :album_id"] - if [db_string duplicate_check " + if {[db_string duplicate_check " select count(*) from cr_items where name = :folder_name - and parent_id = :new_folder_id"] { + and parent_id = :new_folder_id"]} { ad_return_complaint 1 "[_ photo-album._Either_1]" } else { ad_return_complaint 1 "[_ photo-album._We]"