X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FAuth.pm;h=788154c14c8cd5c3867c5a5a190d92cc15ac6fa8;hb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;hp=2323a28412243e8332713e1fdf1b0014566a2575;hpb=4247547d2a925ddad7006cae89e5f9f1fda7d469;p=kivitendo-erp.git diff --git a/SL/Auth.pm b/SL/Auth.pm index 2323a2841..788154c14 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -1120,7 +1120,7 @@ sub _parse_rights_string { push @{$cur_ary}, $token; } else { - push @{$cur_ary}, $self->{RIGHTS}->{$login}->{$token} * 1; + push @{$cur_ary}, ($self->{RIGHTS}->{$login}->{$token} // 0) * 1; } }