Fix PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y" (Simplify)

This commit is contained in:
MDW 2024-03-12 23:15:14 +01:00
parent e64bf30bf6
commit f3eceb42ff
No known key found for this signature in database

View file

@ -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;
}