diff options
-rw-r--r-- | lib/Kratos/DFADriver/Model.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kratos/DFADriver/Model.pm b/lib/Kratos/DFADriver/Model.pm index 9f4f3f4..b602e2c 100644 --- a/lib/Kratos/DFADriver/Model.pm +++ b/lib/Kratos/DFADriver/Model.pm @@ -540,7 +540,7 @@ sub get_state_power_with_params { my $hash_str = join(';', map { $param_values->{$_} } sort { $a cmp $b } keys %{$param_values} ); - if (not $hash_str) { + if ($hash_str eq q{}) { return $self->get_state_power($name); } |