Index: branches/stable/cgi-bin/main.cgi
===================================================================
--- branches/stable/cgi-bin/main.cgi	(revision 41)
+++ branches/stable/cgi-bin/main.cgi	(revision 43)
@@ -827,5 +827,5 @@
     if ($base =~ /^[ds]$/) {
       $sql = "select * from poolips where available='y' and".
-	" ptype='$base' and city='Sudbury' or city='North Bay'";
+	" ptype='$base' and (city='Sudbury' or city='North Bay')";
     } else {
 ## $city doesn't seem to get defined here.
