From cc8094d001ab16e015cd75e29e6d335cf29b1a5b Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Fri, 15 Jun 2012 16:35:22 +0800 Subject: Fix instant search crashing when a product is not pre-selected --- template/en/default/search/search-instant.html.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'template/en/default/search') diff --git a/template/en/default/search/search-instant.html.tmpl b/template/en/default/search/search-instant.html.tmpl index 59cd8c551..c14b681b1 100644 --- a/template/en/default/search/search-instant.html.tmpl +++ b/template/en/default/search/search-instant.html.tmpl @@ -46,7 +46,7 @@ YAHOO.bugzilla.instantSearch.setLabels( { [% FOREACH p = user.get_selectable_products(c.id) %] [% IF p.components.size %] [% END %] @@ -56,7 +56,7 @@ YAHOO.bugzilla.instantSearch.setLabels( { [% ELSE %] [% FOREACH p = product %] [% END %] -- cgit v1.2.3-24-g4f1b