From 7ef6669a7eefefbd0d0af18501538639f1598bd6 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 27 Mar 2008 14:40:13 -0500 Subject: [PATCH] fixed invocation of CGI::Carp::set_message The message handler in C4::Context is now correctly passed CGI::Carp. Signed-off-by: Joshua Ferraro --- C4/Context.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Context.pm b/C4/Context.pm index 4775351f59..c8b6d1e3a7 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -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'; } -- 2.39.2