Ajout param SQL pour log dernière mise à jour

This commit is contained in:
ywarnier 2007-01-14 15:25:52 +00:00
parent 4d4feab0e6
commit 004d142290

View File

@ -310,6 +310,7 @@ class Contact
$birthday = (int) $this->birthday; $birthday = (int) $this->birthday;
$sql .= ", birthday='".$birthday."'"; $sql .= ", birthday='".$birthday."'";
} }
if ($user) $sql .= ", fk_user_modif=".$user->id;
$sql .= " WHERE idp=$id"; $sql .= " WHERE idp=$id";
$result = $this->db->query($sql); $result = $this->db->query($sql);