Index: openacs-4/packages/photo-album/www/clipboard-remove.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/clipboard-remove.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/photo-album/www/clipboard-remove.tcl 10 Jun 2003 10:07:11 -0000 1.1 +++ openacs-4/packages/photo-album/www/clipboard-remove.tcl 12 Jun 2003 06:55:45 -0000 1.2 @@ -23,7 +23,7 @@ } if {$collection_id > 0} { - if {[catch {db_dml unmap_photo {delete from pa_collection_photo_map where collection_id = :collection_id and photo_id = :photo_id and acs_permission__permission_p(:collection_id, :user_id, 'write') = 't'}} errMsg]} { + if {[catch {db_dml unmap_photo {}} errMsg]} { ad_return_error "Clipboard Remove error" "Error removing photo from clipboard
$errMsg" ad_script_abort }