// Fix bug when updating product tags
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11436 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
b03bfc5efd
commit
2576abc756
1 file changed
+3
@@ -58,6 +58,9 @@ class TagCore extends ObjectModel
|
|||||||
parent::__construct($id);
|
parent::__construct($id);
|
||||||
else if ($name && Validate::isGenericName($name) && $id_lang && Validate::isUnsignedId($id_lang))
|
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('
|
$row = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow('
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM `'._DB_PREFIX_.'tag` t
|
FROM `'._DB_PREFIX_.'tag` t
|
||||||
|
|||||||
Reference in new issue
Block a user