diff --git a/htdocs/contact.class.php b/htdocs/contact.class.php index b994ef81491..d29e8dd7b8e 100644 --- a/htdocs/contact.class.php +++ b/htdocs/contact.class.php @@ -310,6 +310,7 @@ class Contact $birthday = (int) $this->birthday; $sql .= ", birthday='".$birthday."'"; } + if ($user) $sql .= ", fk_user_modif=".$user->id; $sql .= " WHERE idp=$id"; $result = $this->db->query($sql);