Ignore:
Timestamp:
01/05/07 10:33:00 (18 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Minor bugfix to "add new city" capability - insert into specific columns.

File:
1 edited

Legend:

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

    r210 r355  
    4040
    4141if ($webvar{pop} eq 'on') {
    42   $sth = $dbh->prepare("insert into cities values ('$webvar{city}','y')");
     42  $sth = $dbh->prepare("insert into cities (city,routing) values ('$webvar{city}','y')");
    4343} else {
    44   $sth = $dbh->prepare("insert into cities values ('$webvar{city}','n')");
     44  $sth = $dbh->prepare("insert into cities (city,routing) values ('$webvar{city}','n')");
    4545}
    4646$sth->execute;
Note: See TracChangeset for help on using the changeset viewer.