From cffc90e91102373ca38fa02f0778de1d69c5f64d Mon Sep 17 00:00:00 2001 From: yogeshwar <yogeshwar.g@vtigersolutions.com> Date: Mon, 20 May 2024 14:26:39 +0530 Subject: [PATCH] E-all Cleanups-Leads --- data/CRMEntity.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/data/CRMEntity.php b/data/CRMEntity.php index 9451472aa..730e6d9ad 100644 --- a/data/CRMEntity.php +++ b/data/CRMEntity.php @@ -3140,9 +3140,6 @@ class TrackableObject implements ArrayAccess, IteratorAggregate { #[\ReturnTypeWillChange] function offsetSet($key, $value) { - // file_put_contents('test7arrayvalue.log',print_r($value,true),FILE_APPEND); - // file_put_contents("duparray.log", sprintf("ENTRIES: %s\n", var_export($value, true)), FILE_APPEND); - // file_put_contents("duparray.log", sprintf("ENTRIES: %s\n", var_export($key, true)), FILE_APPEND); if(is_array($value)) $value = empty($value) ? "" : (array_key_exists(0, $value) ? $value[0] : ""); //it is an associative array without a key 0 modified to prevent warning of Undefined array key 0 . if($this->tracking && $this->trackingEnabled) { $olderValue = $this->offsetGet($key); -- GitLab