Merge pull request #28863 from mdeweerd/fix/testContactUpdate
Fix ContactTest::testContactUpdate
This commit is contained in:
commit
9929b06fbf
1 changed files with 1 additions and 1 deletions
|
|
@ -604,7 +604,7 @@ class Contact extends CommonObject
|
|||
$this->fax = trim($this->fax);
|
||||
$this->zip = (empty($this->zip) ? '' : trim($this->zip));
|
||||
$this->town = (empty($this->town) ? '' : trim($this->town));
|
||||
$this->country_id = ($this->country_id > 0 ? 0 : $this->country_id);
|
||||
$this->country_id = (empty($this->country_id) || $this->country_id < 0) ? 0 : $this->country_id;
|
||||
if (empty($this->statut)) {
|
||||
$this->statut = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue