Fixed a potential bug with quickHash and quickHashRef returning nulls.

This commit is contained in:
JT Smith 2002-12-10 05:05:57 +00:00
parent d1a923ee78
commit fab051a557

View file

@ -394,6 +394,8 @@ sub quickHash {
$sth->finish;
if (defined $data) {
return %{$data};
} else {
return ();
}
}
@ -422,7 +424,9 @@ sub quickHashRef {
$sth->finish;
if (defined $data) {
return $data;
}
} else {
return {};
}
}
#-------------------------------------------------------------------