projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cd306e6
)
Menu: Fehlermeldungen Update
author
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 15 Jul 2015 16:22:51 +0000
(18:22 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 20 Jul 2015 14:37:27 +0000
(16:37 +0200)
SL/Menu.pm
patch
|
blob
|
history
diff --git
a/SL/Menu.pm
b/SL/Menu.pm
index
534a05e
..
d72bb36
100644
(file)
--- a/
SL/Menu.pm
+++ b/
SL/Menu.pm
@@
-150,7
+150,7
@@
sub parse_access_string {
} elsif ($token eq ")") {
pop @stack;
if (!@stack) {
} 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];
}
$cur_ary = $stack[-1];
@@
-167,11
+167,11
@@
sub parse_access_string {
}
if ($access) {
}
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) {
}
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]);
}
return SL::Auth::evaluate_rights_ary($stack[0]);