From 78b3dda08fb07f7e9105bf53cefcd70cdee851e4 Mon Sep 17 00:00:00 2001 From: timriker Date: Thu, 21 Nov 2002 21:49:42 +0000 Subject: [PATCH] dbGetColNiceHash needs fixing git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@673 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/dbi.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dbi.pl b/src/dbi.pl index 29bc5c9..fb20e3c 100644 --- a/src/dbi.pl +++ b/src/dbi.pl @@ -179,7 +179,8 @@ sub dbGetColNiceHash { return; } - %retval = %{ $sth->fetchrow_hashref() }; + # FIXME this dies hard if there are no results + %retval = %{ $sth->fetchrow_hashref }; $sth->finish; -- 2.39.5