diff options
author | gerv%gerv.net <> | 2002-05-13 15:24:49 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-05-13 15:24:49 +0200 |
commit | ff286e05578d49dba35cebac222c22a5fb2e3088 (patch) | |
tree | 184e808127d8073bfe295c1901ca86dba157a758 /template/en/default/bug | |
parent | 34fa0c52c18e487213569abf6446d35f00b7a9ae (diff) | |
download | bugzilla-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.tmpl | 2 |
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 %] |