From: Bill Erickson Date: Fri, 10 Jun 2011 18:21:13 +0000 (-0400) Subject: Pass ENV down to template environment X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dab22dd40c915695ee01e6526f7c2578648141ce;p=evergreen%2Fequinox.git Pass ENV down to template environment Signed-off-by: Bill Erickson --- 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; }