projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Auftrags-Controller: Mehrfach-Artikelauswahl mit Mengeneingabe.
[kivitendo-erp.git]
/
SL
/
Controller
/
Admin.pm
diff --git
a/SL/Controller/Admin.pm
b/SL/Controller/Admin.pm
index
ebbcb77
..
d0082b1
100644
(file)
--- a/
SL/Controller/Admin.pm
+++ b/
SL/Controller/Admin.pm
@@
-528,13
+528,13
@@
sub init_all_rights {
my (@sections, $current_section);
foreach my $entry ($::auth->all_rights_full) {
my (@sections, $current_section);
foreach my $entry ($::auth->all_rights_full) {
- if ($entry->[
0] =~ m/^--/
) {
- push @sections, { description =>
$entry->[1]
, rights => [] };
+ if ($entry->[
2]
) {
+ push @sections, { description =>
t8($entry->[1])
, rights => [] };
} elsif (@sections) {
push @{ $sections[-1]->{rights} }, {
name => $entry->[0],
} elsif (@sections) {
push @{ $sections[-1]->{rights} }, {
name => $entry->[0],
- description =>
$entry->[1]
,
+ description =>
t8($entry->[1])
,
};
} else {
};
} else {