X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/999cace76fbcb8721e8c9106dd4164f241593d4e..5313b0e899deacb80c0496b6ea1ad0c402e5a28a:/SL/DB/Helper/CustomVariables.pm diff --git a/SL/DB/Helper/CustomVariables.pm b/SL/DB/Helper/CustomVariables.pm index 78edce5e3..a82397c5e 100644 --- a/SL/DB/Helper/CustomVariables.pm +++ b/SL/DB/Helper/CustomVariables.pm @@ -182,7 +182,7 @@ sub _all_configs { } return $params{module} && !ref $params{module} ? $cache->{module}{$params{module}} - : $params{module} && ref $params{module} ? [ map { @{ $cache->{module}{$_} } } @{ $params{module} } ] + : $params{module} && ref $params{module} ? [ map { @{ $cache->{module}{$_} // [] } } @{ $params{module} } ] : $cache->{all}; }