[-] BO : fix #PSCFV-2883

This commit is contained in:
lLefevre
2012-07-05 09:46:12 +00:00
parent c00b5a719f
commit 11566b9eb2
@@ -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)
{