X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b251cc22f355941217493073e124ba3878d5530f..92770ef6e894ce0780472c1f0895c416b7aca164:/SL/Menu.pm 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]);