Merge pull request #25971 from noec764/FIX_Get_User_Modif_Contact_Change_Status

FIX: Save user modif id when changing a contact status
This commit is contained in:
Laurent Destailleur 2023-09-19 22:45:16 +02:00 committed by GitHub
commit 16cf6cef27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1658,6 +1658,7 @@ class Contact extends CommonObject
// Desactive utilisateur
$sql = "UPDATE ".MAIN_DB_PREFIX."socpeople";
$sql .= " SET statut = ".((int) $this->statut);
$sql .= ", fk_user_modif = ".((int) $user->id);
$sql .= " WHERE rowid = ".((int) $this->id);
$result = $this->db->query($sql);