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:
2c8aca7
)
Auth: table_present caching gefixt
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 16 Sep 2016 12:52:32 +0000
(14:52 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 26 Sep 2016 09:39:38 +0000
(11:39 +0200)
return aus dem do { } Block verhindert das memoizing.
SL/Auth.pm
patch
|
blob
|
history
diff --git
a/SL/Auth.pm
b/SL/Auth.pm
index
3f8589d
..
f4f096a
100644
(file)
--- a/
SL/Auth.pm
+++ b/
SL/Auth.pm
@@
-918,7
+918,7
@@
sub _tables_present {
my ($count) = selectrow_query($main::form, $dbh, $query, @tables);
-
return
scalar @tables == $count;
+ scalar @tables == $count;
}
}