]> 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:41 +0000 (09:13 +0000)
committerkarl%kornel.name <>
Wed, 16 Nov 2005 09:13:41 +0000 (09:13 +0000)
Bugzilla/Template.pm

index 4cbca29bd926161627f069ba33e70bbfcb4f054d..758a829af3e67db07e4406f7a034d1ec8f347e40 100644 (file)
@@ -221,6 +221,12 @@ sub get_format {
 ###############################################################################
 # 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;