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:
a648b67
)
Form: parse_html_template: AUTH_RIGHTS_ syntax entfernt
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 11 Dec 2015 15:13:56 +0000
(16:13 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 11 Dec 2015 15:16:22 +0000
(16:16 +0100)
AUTH.assert im template benutzen bitte.
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
410fdc6
..
32064f3
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-628,12
+628,6
@@
sub _prepare_html_template {
$additional_params->{LXDEBUG} = $::lxdebug;
$additional_params->{MYCONFIG} = \%::myconfig;
- if ($main::auth && $main::auth->{RIGHTS} && $main::auth->{RIGHTS}->{$self->{login}}) {
- while (my ($key, $value) = each %{ $main::auth->{RIGHTS}->{$self->{login}} }) {
- $additional_params->{"AUTH_RIGHTS_" . uc($key)} = $value;
- }
- }
-
$main::lxdebug->leave_sub();
return $file;