// Fix product listing even if no image is associated to product in BO

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17392 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-09-17 11:59:41 +00:00
parent aea254b1e3
commit 2aa07e24c7
@@ -249,7 +249,7 @@ class AdminProductsControllerCore extends AdminController
if (Shop::isFeatureActive())
$this->_where .= ' AND ((image_shop.id_image IS NOT NULL OR i.id_image IS NULL) OR (image_shop.id_image IS NULL AND i.cover=1))';
else
$this->_where .= ' AND i.cover=1';
$this->_where .= ' AND (i.cover=1 OR i.id_image IS NULL)';
}
protected function _cleanMetaKeywords($keywords)
{