diff --git a/docs/upgrades/upgrade_7.6.7-7.6.8.pl b/docs/upgrades/upgrade_7.6.7-7.6.8.pl index 7b158de53..d5b2bca1f 100644 --- a/docs/upgrades/upgrade_7.6.7-7.6.8.pl +++ b/docs/upgrades/upgrade_7.6.7-7.6.8.pl @@ -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; }