summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 1f0892a32..9cac9ad87 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -681,6 +681,9 @@ sub create {
INCLUDE_PATH => $opts{'include_path'}
|| _include_path($opts{'language'}),
+ # allow PERL/RAWPERL because doing so can boost performance
+ EVAL_PERL => 1,
+
# Remove white-space before template directives (PRE_CHOMP) and at the
# beginning and end of templates and template blocks (TRIM) for better
# looking, more compact content. Use the plus sign at the beginning