Changeset 866 for trunk/cgi-bin/IPDB.pm
- Timestamp:
- 05/02/16 17:59:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/IPDB.pm
r862 r866 1216 1216 my $dbh = shift; 1217 1217 my $pool = shift; 1218 my $incdesc = shift; 1219 $incdesc = 1 if !defined($incdesc); # extra flag to include description and "deleteme" flag 1218 1220 1219 1221 my $sth = $dbh->prepare("SELECT ip,custid,available,description,type,id". … … 1226 1228 custid => $custid, 1227 1229 available => $available, 1228 desc => $desc,1229 delme => $available eq 'n',1230 1230 parent => $pool, 1231 1231 id => $id, 1232 1232 ); 1233 if ($incdesc) { 1234 $row{desc} = $desc; 1235 $row{delme} = ($available eq 'n'); 1236 } 1233 1237 push @poolips, \%row; 1234 1238 }
Note:
See TracChangeset
for help on using the changeset viewer.