Backporting GalleryAlbum isHidden fix.

This commit is contained in:
Colin Kuskie 2009-01-29 17:14:46 +00:00
parent 1d0db51904
commit 6a9e65d7d3
3 changed files with 28 additions and 0 deletions

View file

@ -752,6 +752,20 @@ sub sendChunkedContent {
#----------------------------------------------------------------------------
=head2 update ( )
Override update to force isHidden=1 on all albums.
=cut
sub update {
my $self = shift;
my $properties = shift;
return $self->SUPER::update({ %{ $properties }, isHidden=>1 });
}
#----------------------------------------------------------------------------
=head2 view ( )
method called by the www_view method. Returns a processed template