From 718d833d6dc454d4a4e24a63c786a3d96bd518e9 Mon Sep 17 00:00:00 2001 From: SinergiaCRM Date: Tue, 29 Oct 2024 16:23:06 +0000 Subject: [PATCH] Fix salesagility#10566 - Incorrect date and time in the relationship with a person in the target lists --- modules/ProspectLists/ProspectList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ProspectLists/ProspectList.php b/modules/ProspectLists/ProspectList.php index ff3d1fe8c1f..2264456a55e 100755 --- a/modules/ProspectLists/ProspectList.php +++ b/modules/ProspectLists/ProspectList.php @@ -427,7 +427,7 @@ public function save($check_notify = false) public function mark_deleted($id) { - $query = "UPDATE prospect_lists_prospects SET deleted = 1, date_modified = NOW() WHERE prospect_list_id = '{$id}' AND deleted = 0"; + $query = "UPDATE prospect_lists_prospects SET deleted = 1, date_modified = UTC_TIMESTAMP() WHERE prospect_list_id = '{$id}' AND deleted = 0"; $this->db->query($query); return parent::mark_deleted($id); }