fix a typo in the Photo isHidden subroutine

This commit is contained in:
Colin Kuskie 2008-12-31 02:27:05 +00:00
parent a443999fc6
commit bddd156875

View file

@ -80,7 +80,7 @@ sub hideGalleryPhotos {
# and here's our code
my $getAPhoto = WebGUI::Asset::File::GalleryFile->getIsa($session);
while (my $photo = $getAPhoto->()) {
$photo->update(isHidden => 1);
$photo->update({isHidden => 1});
}
print "DONE!\n" unless $quiet;
}