[-] BO : fix #PSCFV-2883
This commit is contained in:
@@ -3326,16 +3326,11 @@ class AdminProductsControllerCore extends AdminController
|
|||||||
|
|
||||||
public function initFormAttributes($product)
|
public function initFormAttributes($product)
|
||||||
{
|
{
|
||||||
|
$data = $this->createTemplate($this->tpl_form);
|
||||||
if (!Combination::isFeatureActive())
|
if (!Combination::isFeatureActive())
|
||||||
{
|
|
||||||
$this->displayWarning($this->l('This feature has been disabled, you can active this feature at this page:').
|
$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>');
|
' <a href="index.php?tab=AdminPerformance&token='.Tools::getAdminTokenLite('AdminPerformance').'#featuresDetachables">'.$this->l('Performances').'</a>');
|
||||||
return;
|
else if (Validate::isLoadedObject($product))
|
||||||
}
|
|
||||||
|
|
||||||
$data = $this->createTemplate($this->tpl_form);
|
|
||||||
|
|
||||||
if (Validate::isLoadedObject($product))
|
|
||||||
{
|
{
|
||||||
if ($product->is_virtual)
|
if ($product->is_virtual)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user