Fix PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y" (Simplify)
This commit is contained in:
parent
e64bf30bf6
commit
f3eceb42ff
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 ? $this->country_id : $this->country_id);
|
||||
// $this->country_id = ($this->country_id > 0 ? $this->country_id : $this->country_id);
|
||||
if (empty($this->statut)) {
|
||||
$this->statut = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue