From d6ec14acfbc6cac05e38fe2fc747bb519832260d Mon Sep 17 00:00:00 2001 From: "karl%kornel.name" <> Date: Wed, 16 Nov 2005 09:13:41 +0000 Subject: Bug 257813: CSV link from new charts gives internal error if data contains more than 1000 dates - Patch by A. Karl Kornel r=wicked a=justdave --- Bugzilla/Template.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Bugzilla/Template.pm') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 4cbca29bd..758a829af 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -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; -- cgit v1.2.3-24-g4f1b