summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-05-13 15:24:49 +0200
committergerv%gerv.net <>2002-05-13 15:24:49 +0200
commitff286e05578d49dba35cebac222c22a5fb2e3088 (patch)
tree184e808127d8073bfe295c1901ca86dba157a758 /template/en/default/bug
parent34fa0c52c18e487213569abf6446d35f00b7a9ae (diff)
downloadbugzilla-ff286e05578d49dba35cebac222c22a5fb2e3088.tar.gz
bugzilla-ff286e05578d49dba35cebac222c22a5fb2e3088.tar.xz
Bug 143560 - showdependencytree.cgi eats all available memory if there's a circular dependency. Patch by myk; 2xr=gerv.
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/dependency-tree.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl
index 23cb6f094..98c0ec254 100644
--- a/template/en/default/bug/dependency-tree.html.tmpl
+++ b/template/en/default/bug/dependency-tree.html.tmpl
@@ -69,6 +69,7 @@
[%###########################################################################%]
[% BLOCK display_tree %]
+[% tree.$bug_id.seen = 1 %]
<ul>
[% FOREACH dep_id = tree.$bug_id.dependencies %]
[% dep = tree.$dep_id %]
@@ -86,7 +87,6 @@
[% INCLUDE display_tree bug_id=dep_id
IF dep.dependencies.size > 0 && !dep.seen %]
</li>
- [% dep.seen = 1 %]
[% END %]
</ul>
[% END %]