initialize keyword field in GalleryFile.pm because get fills it in now due to a recent code change

This commit is contained in:
David Delikat 2009-02-03 16:43:47 +00:00
parent 99d6796675
commit 621a0cf71b
2 changed files with 2 additions and 0 deletions

View file

@ -1,4 +1,5 @@
7.6.11
- fixed #9579: initialize keyword field because get fills it in now due to a recent code change
- fixed #9596: caching now takes into account the correct parameter for pagination
- fixed #9596: Articles now use a semi-unique pagination variable based on asset id
- fixed: Syndicated Content asset doesn't work with feeds that specify their encodings via HTTP headers

View file

@ -777,6 +777,7 @@ sub view {
# Keywords
my $k = WebGUI::Keyword->new( $session );
my $keywords = $k->getKeywordsForAsset( { asArrayRef => 1, asset => $self } );
$var->{keywords} = [ ];
for my $keyword ( @{ $keywords } ) {
push @{ $var->{keywords} }, {
keyword => $keyword,