From dab22dd40c915695ee01e6526f7c2578648141ce Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 10 Jun 2011 14:21:13 -0400 Subject: [PATCH] Pass ENV down to template environment Signed-off-by: Bill Erickson --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm index 36e67973c0..b6b4ed2d9d 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm @@ -57,7 +57,7 @@ sub handler { } }); - unless($tt->process($template, {ctx => $ctx, l => set_text_handler($ctx, $r)})) { + unless($tt->process($template, {ctx => $ctx, ENV => \%ENV, l => set_text_handler($ctx, $r)})) { $r->log->warn('egweb: template error: ' . $tt->error); return Apache2::Const::HTTP_INTERNAL_SERVER_ERROR; } -- 2.11.0