Changeset 13
- Timestamp:
- 10/25/04 17:30:13 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r12 r13 857 857 } 858 858 $sql = "select * from freeblocks where city='$city' and maskbits<=$webvar{maskbits}". 859 " and routed='y' order by maskbits desc";859 " and routed='y' order by cidr,maskbits desc"; 860 860 } 861 861 $sth = $ip_dbh->prepare($sql); … … 1424 1424 if ($webvar{alloctype} =~ /^[sdcmw]p$/) { 1425 1425 # We have to delete the IPs from the pool listing. 1426 $sth = $ip_dbh->prepare("delete *from poolips where pool='$webvar{block}'");1426 $sth = $ip_dbh->prepare("delete from poolips where pool='$webvar{block}'"); 1427 1427 $sth->execute; 1428 1428 } … … 1465 1465 $sth = $ip_dbh->prepare("delete from freeblocks where cidr=?"); 1466 1466 foreach my $block (@combinelist) { 1467 $sth->execute( $block);1467 $sth->execute("$block"); 1468 1468 } 1469 1469 }
Note:
See TracChangeset
for help on using the changeset viewer.