diff --git a/contrib/DS_Starter/76_SMAPortal.pm b/contrib/DS_Starter/76_SMAPortal.pm index df7a9f3ef..a3fe29185 100644 --- a/contrib/DS_Starter/76_SMAPortal.pm +++ b/contrib/DS_Starter/76_SMAPortal.pm @@ -623,7 +623,7 @@ sub getcredentials { ($username, $passwd) = split(":",decode_base64($credstr)); - my $logpw = AttrVal($name, "showPassInLog", "0") == 1 ? $passwd : "********"; + my $logpw = AttrVal($name, "showPassInLog", 0) ? $passwd : "********"; Log3($name, 4, "$name - Credentials read from RAM: $username $logpw");