]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DBUtils.pm
Sync mit offizieller Version.
[kivitendo-erp.git] / SL / DBUtils.pm
index 19346eb8139a185a8c186ff2f5e2a86b40d14c14..a3b9826a7a558861bbda01ec12de53ce4a3a081d 100644 (file)
@@ -147,7 +147,7 @@ sub selectall_hashref_query {
 
   $main::lxdebug->leave_sub(2);
 
-  return $result;
+  return wantarray ? @{ $result } : $result;
 }
 
 sub selectall_array_query {