From 3e127a01826b76553fe6cd2221a5cb56c1bfb60b Mon Sep 17 00:00:00 2001
From: yogeshwar <yogeshwar.g@vtigersolutions.com>
Date: Mon, 20 May 2024 14:36:36 +0530
Subject: [PATCH] E-all Cleanups-Leads

---
 data/CRMEntity.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/CRMEntity.php b/data/CRMEntity.php
index 730e6d9ad..1189864cf 100644
--- a/data/CRMEntity.php
+++ b/data/CRMEntity.php
@@ -3140,7 +3140,7 @@ class TrackableObject implements ArrayAccess, IteratorAggregate {
 
 	#[\ReturnTypeWillChange]
 	function offsetSet($key, $value) {
-		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(is_array($value)) $value = empty($value) ? "" : (array_key_exists(0, $value) ? $value[0] : ""); //it is an associative (if array without a key 0) modified to prevent warning of Undefined array key 0 .
 		if($this->tracking && $this->trackingEnabled) {
 			$olderValue = $this->offsetGet($key);
 			// decode_html only expects string
-- 
GitLab