Merge branch 'development' of https://github.com/PrestaShop/PrestaShop into development
This commit is contained in:
@@ -1704,7 +1704,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
$this->updateDownloadProduct($object, 1);
|
||||
$this->updateTags(Language::getLanguages(false), $object);
|
||||
|
||||
if ($this->isProductFieldUpdated('category_box') && !$object->updateCategories(Tools::getValue('categoryBox'), true))
|
||||
if ($this->isProductFieldUpdated('category_box') && !$object->updateCategories(Tools::getValue('categoryBox')))
|
||||
$this->errors[] = Tools::displayError('An error occurred while linking object.').' <b>'.$this->table.'</b> '.Tools::displayError('To categories');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user