// Fix bug when updating product tags
This commit is contained in:
@@ -58,6 +58,9 @@ class TagCore extends ObjectModel
|
||||
parent::__construct($id);
|
||||
else if ($name && Validate::isGenericName($name) && $id_lang && Validate::isUnsignedId($id_lang))
|
||||
{
|
||||
$this->def = self::getDefinition($this);
|
||||
$this->setDefinitionRetrocompatibility();
|
||||
|
||||
$row = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow('
|
||||
SELECT *
|
||||
FROM `'._DB_PREFIX_.'tag` t
|
||||
|
||||
Reference in New Issue
Block a user