[-] BO : fix #PSCFV-3200

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16452 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-07-17 09:23:25 +00:00
parent e6cdcfd266
commit 7a20095102
@@ -2218,7 +2218,10 @@ class AdminProductsControllerCore extends AdminController
$product = $this->object;
if ($this->display == 'edit' && Shop::isFeatureActive() && Shop::getContext() == Shop::CONTEXT_SHOP && !$product->isAssociatedToShop($this->context->shop->id))
{
$this->displayWarning($this->l('Warning: this product does not exist in this shop. If you submit the form, this product will be available for this shop too.'));
return;
}
// Product for multishop
$this->context->smarty->assign('bullet_common_field', '');