[-] 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:
1 parent
bd3b4657f4
commit
28a95c3dd0
1 file changed
+2
-7
@@ -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