Skip to content

Commit

Permalink
Update contact.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ptibogxiv committed Jul 24, 2019
1 parent ba60e99 commit c219b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/contact/class/contact.class.php
Expand Up @@ -345,7 +345,7 @@ public function update($id, $user = null, $notrigger = 0, $action = 'update', $n
$sql = "UPDATE ".MAIN_DB_PREFIX."socpeople SET ";
if ($this->socid > 0) $sql .= " fk_soc='".$this->db->escape($this->socid)."',";
elseif ($this->socid == -1) $sql .= " fk_soc=null,";
$sql .= " civility='".$this->db->escape($this->civility)."'";
$sql .= " civility='".$this->db->escape($this->civility_id)."'";
$sql .= ", lastname='".$this->db->escape($this->lastname)."'";
$sql .= ", firstname='".$this->db->escape($this->firstname)."'";
$sql .= ", address='".$this->db->escape($this->address)."'";
Expand Down

0 comments on commit c219b62

Please sign in to comment.