From 2f1a82628ca539b3eaad5f0b785071661e999b16 Mon Sep 17 00:00:00 2001 From: PhpMadman Date: Thu, 7 Nov 2013 09:00:00 +0100 Subject: [PATCH] // Fixes "Notice: Undefined index: nb_results in" --- .../default/template/controllers/search/helpers/view/view.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-dev/themes/default/template/controllers/search/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/search/helpers/view/view.tpl index 406943226..062f71683 100644 --- a/admin-dev/themes/default/template/controllers/search/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/search/helpers/view/view.tpl @@ -29,7 +29,7 @@ $(function() { }); -{if !$nb_results} +{if !isset($nb_results)}

{l s='There are no results matching your query "%s".' sprintf=$query}

{else}