]> git.donarmstrong.com Git - infobot.git/blobdiff - src/dbi.pl
that won't work
[infobot.git] / src / dbi.pl
index aefd3932af0de9354106059068eac74948ec8ce5..3ead58ae173715e9ec83314ecc22ebb38f186368 100644 (file)
@@ -179,7 +179,7 @@ sub dbGetColNiceHash {
        return;
     }
 
-    %retval = %{ $sth->fetchrow_hashref() } if $sth->fetchrow_hashref();
+    %retval = $sth->fetchrow_hashref();
 
     $sth->finish;