From 74af9af141ed7449d1613e1a9cec2fe7d64e43fe Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Tue, 20 Dec 2011 17:30:12 +0000 Subject: [PATCH] // Fix bug when updating product tags --- classes/Tag.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/classes/Tag.php b/classes/Tag.php index 06c15f919..6b9f95ad7 100644 --- a/classes/Tag.php +++ b/classes/Tag.php @@ -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