Changeset 40


Ignore:
Timestamp:
10/28/04 16:26:39 (20 years ago)
Author:
Kris Deugau
Message:

/trunk

Bugfix for final stage of allocating a static IP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/main.cgi

    r37 r40  
    968968# Same ordering as confirmation page
    969969
    970   if ($webvar{alloctype} =~ /^[cdsm]i$/) {
     970  if ($webvar{alloctype} =~ /^[scdmw]i$/) {
    971971    my ($base,$tmp) = split //, $webvar{alloctype};     # split into individual chars
    972972
    973973    # We'll just have to put up with the oddities caused by SQL (un)sort order
    974974    $sth = $ip_dbh->prepare("select * from poolips where pool='$webvar{alloc_from}'".
    975         " and available='y'");
     975        " and available='y' order by IP");
    976976    $sth->execute;
    977977
Note: See TracChangeset for help on using the changeset viewer.