From: gerv%gerv.net <> Date: Fri, 10 May 2002 06:15:05 +0000 (+0000) Subject: Bug 143231 - Changing a bug with an empty buglist gives a warning. Patch by jouni... X-Git-Tag: bugzilla-2.16rc2~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=601aa42994770efa8dceaa14fd7baedd8dad95a0;p=thirdparty%2Fbugzilla.git Bug 143231 - Changing a bug with an empty buglist gives a warning. Patch by jouni@heikniemi.net; 2xr=justdave. --- diff --git a/template/en/default/bug/navigate.html.tmpl b/template/en/default/bug/navigate.html.tmpl index 3713e0a0d0..621acc1bfd 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 %]