From bddd156875b1b9cb88e0710b4da9dd1ffb657291 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 31 Dec 2008 02:27:05 +0000 Subject: [PATCH] fix a typo in the Photo isHidden subroutine --- docs/upgrades/upgrade_7.6.7-7.6.8.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }