From: Bill Erickson Date: Fri, 10 Jun 2011 18:21:13 +0000 (-0400) Subject: Pass ENV down to template environment X-Git-Tag: sprint4-merge-nov22~5128^2~72^2~4^2~3 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=263d4bedb965eba4b3935c3246d15db00494f94b;p=working%2FEvergreen.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; }