]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 143231 - Changing a bug with an empty buglist gives a warning. Patch by jouni...
authorgerv%gerv.net <>
Fri, 10 May 2002 06:15:05 +0000 (06:15 +0000)
committergerv%gerv.net <>
Fri, 10 May 2002 06:15:05 +0000 (06:15 +0000)
template/en/default/bug/navigate.html.tmpl

index 3713e0a0d0607140fcaa608f446c8a582f7a39c4..621acc1bfd79e4f4e3ebf6688ff8608cf3ccc584 100644 (file)
@@ -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 %]