From f0949ba8a2ecdba4967dc7cd57b9b654e3f78b9f Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 5 Feb 2009 12:04:08 +0000 Subject: [PATCH] Sync mit offizieller Version. --- SL/DBUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1