summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Template.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 343753d46..1ac88b62e 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -660,6 +660,12 @@ $Template::Stash::SCALAR_OPS->{ truncate } =
return $newstr;
};
+# Override the built in .lower() vmethod
+$Template::Stash::SCALAR_OPS->{ lower } =
+ sub {
+ return lc($_[0]);
+ };
+
# Create the template object that processes templates and specify
# configuration parameters that apply to all templates.