From: Sven Schöling Date: Fri, 16 Sep 2016 12:52:32 +0000 (+0200) Subject: Auth: table_present caching gefixt X-Git-Tag: release-3.5.4~2019 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2e8e09343f7c603879ee4252e8915bcd80bdb7ab;p=kivitendo-erp.git Auth: table_present caching gefixt return aus dem do { } Block verhindert das memoizing. --- diff --git a/SL/Auth.pm b/SL/Auth.pm index 3f8589df2..f4f096a6c 100644 --- 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; } }