// small fix

This commit is contained in:
rGaillard committed 2013-11-29 14:20:06 +01:00
1 parent badfef481c
commit 5c3f43141b
1 file changed
+1 -1
+1 -1
View File
@@ -1165,7 +1165,7 @@ class FrontControllerCore extends Controller
protected function addColorsToProductList(&$products) protected function addColorsToProductList(&$products)
{ {
if (!is_array($products) || !count($products)) if (!is_array($products) || !count($products) || !file_exists(_PS_THEME_DIR_.'product-list-colors.tpl'))
return; return;
$products_need_cache = array(); $products_need_cache = array();