From: Sven Schöling Date: Wed, 15 Jul 2015 16:22:51 +0000 (+0200) Subject: Menu: Fehlermeldungen Update X-Git-Tag: release-3.3.0beta~31^2~22 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=92770ef6e894ce0780472c1f0895c416b7aca164;p=kivitendo-erp.git Menu: Fehlermeldungen Update --- diff --git a/SL/Menu.pm b/SL/Menu.pm index 534a05e6e..d72bb3619 100644 --- a/SL/Menu.pm +++ b/SL/Menu.pm @@ -150,7 +150,7 @@ sub parse_access_string { } elsif ($token eq ")") { pop @stack; if (!@stack) { - die "Error in menu.ini for entry $node->{id}: missing '('"; + die "Error while parsing menu entry $node->{id}: missing '('"; } $cur_ary = $stack[-1]; @@ -167,11 +167,11 @@ sub parse_access_string { } if ($access) { - die "Error in menu.ini for entry $node->{id}: unrecognized token at the start of '$access'\n"; + die "Error while parsing menu entry $node->{id}: unrecognized token at the start of '$access'\n"; } if (1 < scalar @stack) { - die "Error in menu.ini for entry $node->{id}: Missing ')'\n"; + die "Error while parsing menu entry $node->{id}: Missing ')'\n"; } return SL::Auth::evaluate_rights_ary($stack[0]);