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:
5ca497d
)
warnings
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 1 Feb 2013 13:25:45 +0000
(14:25 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 1 Feb 2013 13:25:45 +0000
(14:25 +0100)
SL/Menu.pm
patch
|
blob
|
history
diff --git
a/SL/Menu.pm
b/SL/Menu.pm
index
57d8b4e
..
0fb1b1a
100644
(file)
--- a/
SL/Menu.pm
+++ b/
SL/Menu.pm
@@
-94,7
+94,7
@@
sub access_control {
my @menu = ();
- if (
$menulevel eq ""
) {
+ if (
!$menulevel
) {
@menu = grep { !/--/ } @{ $self->{ORDER} };
} else {
@menu = grep { /^${menulevel}--/ } @{ $self->{ORDER} };