Index: openacs-4/packages/photo-album/www/album.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/album.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/photo-album/www/album.tcl 18 Nov 2003 22:59:03 -0000 1.4 +++ openacs-4/packages/photo-album/www/album.tcl 6 Sep 2013 17:17:43 -0000 1.5 @@ -37,7 +37,7 @@ set user_id [ad_conn user_id] # check for read permission on album -ad_require_permission $album_id read +permission::require_permission -object_id $album_id -privilege read # These lines are to uncache the image in Netscape, Mozilla. # IE6 & Safari (mac) have a bug with the images cache