// Fix definition on Alias and Tag objects

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11552 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-21 20:28:31 +00:00
parent d4f2bbc32b
commit 21927830bf
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -46,6 +46,9 @@ class AliasCore extends ObjectModel
public function __construct($id = NULL, $alias = NULL, $search = NULL, $id_lang = NULL)
{
$this->def = self::getDefinition($this);
$this->setDefinitionRetrocompatibility();
if ($id)
parent::__construct($id);
else if ($alias && Validate::isValidSearch($alias))