// Fix #PSFV-48

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8032 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-08-11 14:42:31 +00:00
parent 5ef6b3b0d6
commit 49468717c2
89 changed files with 149 additions and 149 deletions
+3 -3
View File
@@ -90,7 +90,7 @@ class SupplierCore extends ObjectModel
public function getFields()
{
parent::validateFields();
$this->validateFields();
if (isset($this->id))
$fields['id_supplier'] = (int)($this->id);
$fields['name'] = pSQL($this->name);
@@ -102,8 +102,8 @@ class SupplierCore extends ObjectModel
public function getTranslationsFieldsChild()
{
parent::validateFieldsLang();
return parent::getTranslationsFields(array('description', 'meta_title', 'meta_keywords', 'meta_description'));
$this->validateFieldsLang();
return $this->getTranslationsFields(array('description', 'meta_title', 'meta_keywords', 'meta_description'));
}
/**