]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 257813: CSV link from new charts gives internal error if data contains more than...
authorkarl%kornel.name <>
Wed, 16 Nov 2005 09:13:43 +0000 (09:13 +0000)
committerkarl%kornel.name <>
Wed, 16 Nov 2005 09:13:43 +0000 (09:13 +0000)
Bugzilla/Template.pm

index 7efd3a16e55bc5e1a96b040959bbb064c430ae03..84231f6a14c7d125a697c17ff48f86dcefdbae69 100644 (file)
@@ -134,6 +134,12 @@ sub getTemplateIncludePath () {
 ###############################################################################
 # Templatization Code
 
+# The Template Toolkit throws an error if a loop iterates >1000 times.
+# We want to raise that limit.
+# NOTE: If you change this number, you MUST RE-RUN checksetup.pl!!!
+# If you do not re-run checksetup.pl, the change you make will not apply
+$Template::Directive::WHILE_MAX = 1000000;
+
 # Use the Toolkit Template's Stash module to add utility pseudo-methods
 # to template variables.
 use Template::Stash;