faulty ref check
This commit is contained in:
parent
9fa0df22c7
commit
1f5e3ffcad
2 changed files with 3 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ sub get {
|
|||
my $self = shift;
|
||||
my $name = shift;
|
||||
if ($name eq "parameters") {
|
||||
if (exists $self->{_data}{parameters} and ref($self->{_data}{parameters}) eq 'HASH' ) {
|
||||
if (exists $self->{_data}{parameters}) {
|
||||
my $parameters = JSON::from_json($self->{_data}{$name});
|
||||
return $parameters->{parameters};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue