fix a typo in the Photo isHidden subroutine
This commit is contained in:
parent
a443999fc6
commit
bddd156875
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ sub hideGalleryPhotos {
|
||||||
# and here's our code
|
# and here's our code
|
||||||
my $getAPhoto = WebGUI::Asset::File::GalleryFile->getIsa($session);
|
my $getAPhoto = WebGUI::Asset::File::GalleryFile->getIsa($session);
|
||||||
while (my $photo = $getAPhoto->()) {
|
while (my $photo = $getAPhoto->()) {
|
||||||
$photo->update(isHidden => 1);
|
$photo->update({isHidden => 1});
|
||||||
}
|
}
|
||||||
print "DONE!\n" unless $quiet;
|
print "DONE!\n" unless $quiet;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue