Index: openacs-4/packages/photo-album/www/photo-iconic.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/photo-iconic.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/photo-album/www/photo-iconic.tcl 7 Aug 2014 07:59:51 -0000 1.6 +++ openacs-4/packages/photo-album/www/photo-iconic.tcl 21 Jan 2018 00:39:44 -0000 1.7 @@ -21,7 +21,10 @@ # If we did not get an album ID if {! $album_id } { - ad_return_error "Photo Internal Error" "The photo is either not live or not in an album. Please inform the webmaster of the error" + ad_return_error \ + "Photo Internal Error" \ + "The photo is either not live or not in an album. Please inform the webmaster of the error" + ad_script_abort } permission::require_permission -object_id $album_id -privilege "write"