Changeset 505 for branches/htmlform/cgi-bin/main.cgi
- Timestamp:
- 09/27/11 13:41:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/htmlform/cgi-bin/main.cgi
r504 r505 15 15 use HTML::Template; 16 16 use DBI; 17 use CommonWeb qw(:ALL);18 17 use CustIDCK; 19 18 use POSIX qw(ceil); … … 1084 1083 if ($@) { 1085 1084 my $msg = $@; 1086 carp "Transaction aborted because $msg";1087 1085 eval { $ip_dbh->rollback; }; 1088 1086 syslog "err", "$authuser could not update block/IP '$webvar{block}': '$msg'"; 1089 printError("Could not update block/IP $webvar{block}: $msg");1087 $page->param(err => "Could not update block/IP $webvar{block}: $msg"); 1090 1088 return; 1091 1089 }
Note:
See TracChangeset
for help on using the changeset viewer.