summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-05-10 08:15:26 +0200
committergerv%gerv.net <>2002-05-10 08:15:26 +0200
commit381e9423702cd27993f2ff34c2325f824ca4dafd (patch)
tree7eb821527a13c5e36de577ad66d41d487ed60a01 /template
parent085cf20939cc04fcf2aa57afc63e1d8297e4eb04 (diff)
downloadbugzilla-381e9423702cd27993f2ff34c2325f824ca4dafd.tar.gz
bugzilla-381e9423702cd27993f2ff34c2325f824ca4dafd.tar.xz
Bug 143231 - Changing a bug with an empty buglist gives a warning. Patch by jouni@heikniemi.net; 2xr=justdave.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/navigate.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/bug/navigate.html.tmpl b/template/en/default/bug/navigate.html.tmpl
index 3713e0a0d..621acc1bf 100644
--- a/template/en/default/bug/navigate.html.tmpl
+++ b/template/en/default/bug/navigate.html.tmpl
@@ -19,7 +19,7 @@
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
-[% IF bug_list.size > 0 %]
+[% IF bug_list && bug_list.size > 0 %]
[% this_bug_idx = lsearch(bug_list, bug.bug_id) %]
<b>Bug List:</b>
[% IF this_bug_idx != -1 %]