From: Moritz Bunkus Date: Thu, 5 Feb 2009 12:04:08 +0000 (+0000) Subject: Sync mit offizieller Version. X-Git-Tag: release-2.6.0beta2~186 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f0949ba8a2ecdba4967dc7cd57b9b654e3f78b9f;p=kivitendo-erp.git Sync mit offizieller Version. --- 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 {