// small fix

This commit is contained in:
rGaillard
2013-11-29 14:20:06 +01:00
parent badfef481c
commit 5c3f43141b
+1 -1
View File
@@ -1165,7 +1165,7 @@ class FrontControllerCore extends Controller
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;
$products_need_cache = array();