X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDBUtils.pm;h=a3b9826a7a558861bbda01ec12de53ce4a3a081d;hb=b2c8e6aad4973545057c6529445c0f5f6f2a1cbe;hp=19346eb8139a185a8c186ff2f5e2a86b40d14c14;hpb=58a1b54b6a04d70fda952ca86bc3b85b866264e9;p=kivitendo-erp.git diff --git a/SL/DBUtils.pm b/SL/DBUtils.pm index 19346eb81..a3b9826a7 100644 --- a/SL/DBUtils.pm +++ b/SL/DBUtils.pm @@ -147,7 +147,7 @@ sub selectall_hashref_query { $main::lxdebug->leave_sub(2); - return $result; + return wantarray ? @{ $result } : $result; } sub selectall_array_query {