// Fix #PSFV-48

This commit is contained in:
rMalie
2011-08-11 14:42:31 +00:00
parent 9df1d7637a
commit 0b28aa8f72
89 changed files with 149 additions and 149 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ class AddressCore extends ObjectModel
public function getFields()
{
parent::validateFields();
$this->validateFields();
if (isset($this->id))
$fields['id_address'] = (int)($this->id);
$fields['id_customer'] = is_null($this->id_customer) ? 0 : (int)($this->id_customer);