// 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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user