initialize keyword field in GalleryFile.pm because get fills it in now due to a recent code change
This commit is contained in:
parent
99d6796675
commit
621a0cf71b
2 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue