From: Sven Schöling Date: Fri, 27 May 2011 09:04:34 +0000 (+0200) Subject: Peinlicher Syntaxfehler beim Laden von Gruppenrechten. X-Git-Tag: release-2.6.3~25^2~9 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8bca69f27bb998a9f4c49ab3c791271bfbb1b6c3;p=kivitendo-erp.git Peinlicher Syntaxfehler beim Laden von Gruppenrechten. --- diff --git a/SL/Auth.pm b/SL/Auth.pm index ff77bfcc7..569ec2149 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -1117,7 +1117,7 @@ sub load_rights_for_user { my $dbh = $self->dbconnect; my ($query, $sth, $row, $rights); - $rights = { map { $rights->{$_} = 0 } all_rights() }; + $rights = { map { $rights->{$_} => 0 } all_rights() }; $query = qq|SELECT gr."right", gr.granted