Index: openacs-4/packages/photo-album/www/folder-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/folder-edit.tcl,v diff -u -r1.6 -r1.7 --- openacs-4/packages/photo-album/www/folder-edit.tcl 1 Jun 2004 22:54:19 -0000 1.6 +++ openacs-4/packages/photo-album/www/folder-edit.tcl 6 Sep 2013 17:17:44 -0000 1.7 @@ -20,7 +20,7 @@ } # check for permission -ad_require_permission $folder_id write +permission::require_permission -object_id $folder_id -privilege write set context_list [pa_context_bar_list -final "[_ photo-album._Edit_1]" $folder_id]