From 381e9423702cd27993f2ff34c2325f824ca4dafd Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 10 May 2002 06:15:26 +0000 Subject: Bug 143231 - Changing a bug with an empty buglist gives a warning. Patch by jouni@heikniemi.net; 2xr=justdave. --- template/en/default/bug/navigate.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #%] -[% IF bug_list.size > 0 %] +[% IF bug_list && bug_list.size > 0 %] [% this_bug_idx = lsearch(bug_list, bug.bug_id) %] Bug List: [% IF this_bug_idx != -1 %] -- cgit v1.2.3-24-g4f1b