From 92770ef6e894ce0780472c1f0895c416b7aca164 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 15 Jul 2015 18:22:51 +0200 Subject: [PATCH] Menu: Fehlermeldungen Update --- SL/Menu.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]); -- 2.20.1