Ignore:
Timestamp:
07/04/14 13:03:43 (10 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Small patch to allow click-to-allocate for unassigned static IPs in the
search results

File:
1 edited

Legend:

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

    r606 r620  
    467467  my $count = 0;
    468468  my @sresults;
    469   while (my ($block, $custid, $type, $city, $desc, $vrf) = $sth->fetchrow_array) {
     469  while (my ($block, $custid, $type, $city, $desc, $vrf, $avail) = $sth->fetchrow_array) {
    470470    my %row = (
    471471        rowclass => $count++ % 2,
     
    478478        desc => $desc,
    479479        vrf => $vrf,
     480        avail => $avail eq 'y',
    480481        );
    481482    push @sresults, \%row;
Note: See TracChangeset for help on using the changeset viewer.