Update don.class.php
This commit is contained in:
parent
3257e65d09
commit
5e19483c99
@ -401,7 +401,7 @@ class Don extends CommonObject
|
||||
$sql .= ", '".$this->db->escape($this->address)."'";
|
||||
$sql .= ", '".$this->db->escape($this->zip)."'";
|
||||
$sql .= ", '".$this->db->escape($this->town)."'";
|
||||
$sql .= ", ".(int) $this->country_id;
|
||||
$sql .= ", ".(int) ($this->country_id > 0 ? $this->country_id : 0);
|
||||
$sql .= ", ".(int) $this->public;
|
||||
$sql .= ", ".($this->fk_project > 0 ? (int) $this->fk_project : "null");
|
||||
$sql .= ", ".(!empty($this->note_private) ? ("'".$this->db->escape($this->note_private)."'") : "NULL");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user