From 5581722e51734285f0ee8581671c27cac3b604c3 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 19 Oct 2006 23:15:53 +0000 Subject: Bug 312876: Make new products non-selectable until they have components - Patch by victory(_RSZ_) r=wurblzap a=myk --- template/en/default/search/search-specific.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/en/default/search/search-specific.html.tmpl') diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl index e09caca7f..05c8bd180 100644 --- a/template/en/default/search/search-specific.html.tmpl +++ b/template/en/default/search/search-specific.html.tmpl @@ -74,7 +74,7 @@ for "crash secure SSL flash". [% FOREACH c = classification %] [% FOREACH p = c.products %] - [% IF user.can_see_product(p.name) %] + [% IF user.can_see_product(p.name) && p.components.size %]