Changeset 154


Ignore:
Timestamp:
Oct 24, 2006, 6:29:28 PM (13 years ago)
Author:
Dominic Hargreaves
Message:

Error checking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/cgi/problem.fcgi

    r153 r154  
    6565        Subject => $subject,
    6666        Data => $comment);
    67     $msg->send;
     67   
     68    unless ($msg->send) {
     69        print_err ('Sorry, there was an error sending your message. Please email webmaster@npemap.org.uk instead.');
     70        next REQUEST;
     71    }
    6872
    6973    print "Content-type: text/html\n\n";
Note: See TracChangeset for help on using the changeset viewer.