projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Zeiterfassung: Sortierung und Ordnung für Typen
[kivitendo-erp.git]
/
SL
/
Controller
/
TopQuickSearch.pm
diff --git
a/SL/Controller/TopQuickSearch.pm
b/SL/Controller/TopQuickSearch.pm
index
d6ce6e1
..
03d6504
100644
(file)
--- a/
SL/Controller/TopQuickSearch.pm
+++ b/
SL/Controller/TopQuickSearch.pm
@@
-88,7
+88,7
@@
sub enabled_modules {
sub active_modules {
grep {
sub active_modules {
grep {
- $::auth->assert($_->auth, 1)
+
!$_->auth ||
$::auth->assert($_->auth, 1)
} $_[0]->enabled_modules
}
} $_[0]->enabled_modules
}
@@
-101,7
+101,7
@@
sub init_module {
die 'Unknown module ' . $::form->{module} unless my $class = $modules_by_name{$::form->{module}};
die 'Unknown module ' . $::form->{module} unless my $class = $modules_by_name{$::form->{module}};
- $::auth->assert($class->auth);
+ $::auth->assert($class->auth)
if $class->auth
;
return $class->new;
}
return $class->new;
}