diff --git a/data/CRMEntity.php b/data/CRMEntity.php index 9451472aa4f9f3e2f4bb62ad5d88f5cf2e4a6c28..730e6d9ad7b4e206d02a9eee205e9abe8c1b6c4f 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);