[-] BO : fix #PSCFV-2883

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16230 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-07-05 09:46:12 +00:00
parent bd3b4657f4
commit 28a95c3dd0
@@ -3326,16 +3326,11 @@ class AdminProductsControllerCore extends AdminController
public function initFormAttributes($product)
{
$data = $this->createTemplate($this->tpl_form);
if (!Combination::isFeatureActive())
{
$this->displayWarning($this->l('This feature has been disabled, you can active this feature at this page:').
' <a href="index.php?tab=AdminPerformance&token='.Tools::getAdminTokenLite('AdminPerformance').'#featuresDetachables">'.$this->l('Performances').'</a>');
return;
}
$data = $this->createTemplate($this->tpl_form);
if (Validate::isLoadedObject($product))
else if (Validate::isLoadedObject($product))
{
if ($product->is_virtual)
{