westermm hat völlig zu Recht auf die Änderungen in Revision 3512 hingewiesen. Das...
[kivitendo-erp.git] / SL / DBUtils.pm
index 19346eb..a3b9826 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 {