]> git.donarmstrong.com Git - infobot.git/commitdiff
extra space sometimes
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 6 Dec 2002 20:32:03 +0000 (20:32 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 6 Dec 2002 20:32:03 +0000 (20:32 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@730 c11ca15a-4712-0410-83d8-924469b57eb5

src/dbi.pl

index f10845a2b59cfa0648456f1e4655d5ca671fba40..d3c5aabf94422dd7c4e2a555939225f39d324202 100644 (file)
@@ -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;