fixed bug 9428: ASSET::get now includes keywords when
called without a property name.
This commit is contained in:
parent
e3c77d4e80
commit
d27b5b0066
2 changed files with 3 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
7.6.9
|
||||
- fixed #9428: added code to ASSET::get to include keywords when no property name is requested
|
||||
- marked sbin scripts as executable
|
||||
- Problem #9492: in passing form variables to Macro SQL inside a snippet
|
||||
|
||||
|
|
|
|||
|
|
@ -753,6 +753,8 @@ sub get {
|
|||
return $self->{_properties}{$propertyName};
|
||||
}
|
||||
my %copyOfHashRef = %{$self->{_properties}};
|
||||
my $keywords = WebGUI::Keyword->new($self->session)->getKeywordsForAsset({asset => $self});
|
||||
if( $keywords ne '' ) { $copyOfHashRef{ keywords } = $keywords ; }
|
||||
return \%copyOfHashRef;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue