Asset->get should return a copy of the properties hashref
This commit is contained in:
parent
7a14ebd639
commit
b92da4afab
3 changed files with 5 additions and 3 deletions
|
|
@ -461,7 +461,8 @@ sub get {
|
|||
if (defined $propertyName) {
|
||||
return $self->{_properties}{$propertyName};
|
||||
}
|
||||
return $self->{_properties};
|
||||
my %copyOfHashRef = %{$self->{_properties}};
|
||||
return \%copyOfHashRef;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue