// Fix definition on Alias and Tag objects

This commit is contained in:
rMalie
2011-12-21 20:28:31 +00:00
parent 4021101982
commit 3d9e606c0c
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))