From: timriker Date: Thu, 21 Nov 2002 21:49:42 +0000 (+0000) Subject: dbGetColNiceHash needs fixing X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=fca4b879db31c67e9a661b8a147cb0cafaae714e;p=infobot.git dbGetColNiceHash needs fixing git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@673 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/dbi.pl b/blootbot/src/dbi.pl index 29bc5c9..fb20e3c 100644 --- a/blootbot/src/dbi.pl +++ b/blootbot/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;