Changeset 132 for branches


Ignore:
Timestamp:
01/21/05 12:31:49 (20 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Bugfix for missing IP in static-IP allocation notifications.

-> Watch out for localizing variables that need to carry outside

of the local scope!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/cgi-bin/IPDB.pm

    r131 r132  
    203203##err Need better handling here;  what if there's no free IPs when this sub gets called?
    204204      my @data = $sth->fetchrow_array;
    205       my $cidr = $data[1];
     205      $cidr = $data[1];  # $cidr is already declared when we get here!
    206206
    207207      $sth = $dbh->prepare("update poolips set custid='$custid',".
Note: See TracChangeset for help on using the changeset viewer.