// 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:
tDidierjean
2011-12-20 17:30:12 +00:00
parent b03bfc5efd
commit 2576abc756
+3
View File
@@ -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