From a3a9a4578cd9576a15a4d5f0f69d3cc05a76b409 Mon Sep 17 00:00:00 2001 From: Deven Bansod Date: Fri, 18 Dec 2015 21:06:37 +0530 Subject: [PATCH] Fix erroneous condition for array's all keys empty check Signed-off-by: Deven Bansod --- templates/list/item.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/list/item.phtml b/templates/list/item.phtml index 14e542ae23..4676094055 100644 --- a/templates/list/item.phtml +++ b/templates/list/item.phtml @@ -17,7 +17,7 @@ echo !empty($id) ? ' id="' . $id . '"' : null; echo !empty($class) ? ' class="' . $class . '"' : null; ?>> + if (is_array($url) && array_filter($url)) : ?>