Changeset 43 for branches


Ignore:
Timestamp:
11/01/04 11:09:28 (20 years ago)
Author:
Kris Deugau
Message:

/branches/stable

SQL bugfix in finding free pools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/cgi-bin/main.cgi

    r41 r43  
    827827    if ($base =~ /^[ds]$/) {
    828828      $sql = "select * from poolips where available='y' and".
    829         " ptype='$base' and city='Sudbury' or city='North Bay'";
     829        " ptype='$base' and (city='Sudbury' or city='North Bay')";
    830830    } else {
    831831## $city doesn't seem to get defined here.
Note: See TracChangeset for help on using the changeset viewer.