- Timestamp:
- 02/10/05 10:36:22 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/main.cgi
r162 r163 1150 1150 }; 1151 1151 if ($@) { 1152 carp "Transaction aborted because $@"; 1152 my $msg = $@; 1153 carp "Transaction aborted because $msg"; 1153 1154 eval { $ip_dbh->rollback; }; 1154 syslog "err", "$authuser could not update block/IP '$webvar{block}': '$ @'";1155 printError("Could not update block/IP $webvar{block}: $ @");1155 syslog "err", "$authuser could not update block/IP '$webvar{block}': '$msg'"; 1156 printError("Could not update block/IP $webvar{block}: $msg"); 1156 1157 return; 1157 1158 } … … 1225 1226 1226 1227 # Unassigning a static IP 1227 my $sth = $ip_dbh->prepare("select ip,custid,city, ptype,notes,circuitid from poolips".1228 my $sth = $ip_dbh->prepare("select ip,custid,city,type,notes,circuitid from poolips". 1228 1229 " where ip='$webvar{block}'"); 1229 1230 $sth->execute();
Note:
See TracChangeset
for help on using the changeset viewer.