Changeset 191 for trunk/cgi-bin/main.cgi


Ignore:
Timestamp:
03/10/05 13:46:49 (19 years ago)
Author:
Kris Deugau
Message:

/trunk

Fixed buglet that would have incorrectly allowed allocation
of a specific free routed block as a 'contained' type

File:
1 edited

Legend:

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

    r189 r191  
    741741      my @data = $sth->fetchrow_array;
    742742      $data[0] =~ s/c$/r/;      # Munge the type into the correct form
    743       $typelist = "$disp_alloctypes{$data[0]}<input type=hidden name=alloctype value=$data[0]>\n";
     743      $typelist = "$list_alloctypes{$data[0]}<input type=hidden name=alloctype value=$data[0]>\n";
    744744    } else {
    745745      $typelist .= qq(<select name="alloctype">\n);
    746746      $sth = $ip_dbh->prepare("select type,listname from alloctypes where listorder < 500 ".
    747         "and type not like '_i' order by listorder");
     747        "and type not like '_i' and type not like '_r' order by listorder");
    748748      $sth->execute;
    749749      my @data = $sth->fetchrow_array;
Note: See TracChangeset for help on using the changeset viewer.