From: timriker Date: Fri, 6 Dec 2002 20:32:03 +0000 (+0000) Subject: extra space sometimes X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=bf83bb8bac0cbd0df9cec78126a370633626daaf;p=infobot.git extra space sometimes git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@730 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/dbi.pl b/blootbot/src/dbi.pl index f10845a..d3c5aab 100644 --- a/blootbot/src/dbi.pl +++ b/blootbot/src/dbi.pl @@ -88,10 +88,10 @@ sub sqlSelectMany { return; } - $query .= " WHERE " if (($where_href) || ($other)); + $query .= " WHERE" if (($where_href) || ($other)); if ($where_href) { my $where = &hashref2where($where_href); - $query .= "$where" if ($where); + $query .= " $where" if ($where); } $query .= " $other" if $other;