fixed invocation of CGI::Carp::set_message

The message handler in C4::Context is now correctly
passed CGI::Carp.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Galen Charlton 2008-03-27 14:40:13 -05:00 committed by Joshua Ferraro
parent 5c51edc653
commit 7ef6669a7e
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ BEGIN {
} else {
print "production mode - trapped fatal";
}
}
CGI::Carp->set_message(\&handle_errors);
}
CGI::Carp::set_message(\&handle_errors);
} # else there is no browser to send fatals to!
$VERSION = '3.00.00.036';
}