From decebec7dbdeed2f40cf990c3201348f78f21540 Mon Sep 17 00:00:00 2001 From: fusionate Date: Mon, 8 May 2023 13:23:07 +0000 Subject: [PATCH] Call Centers: Fix PHP 8.x issue on explode function in app_defaults.php. --- app/call_centers/app_defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/call_centers/app_defaults.php b/app/call_centers/app_defaults.php index 160f50f74a..7d683ae4b1 100644 --- a/app/call_centers/app_defaults.php +++ b/app/call_centers/app_defaults.php @@ -78,7 +78,7 @@ if ($domains_processed == 1) { foreach ($call_center_queues as $row) { //get the application and data - $action_array = explode(":",$row['queue_timeout_action']); + $action_array = explode(":",$row['queue_timeout_action'] ?? ''); $queue_timeout_app = $action_array[0]; unset($action_array[0]); $queue_timeout_data = implode($action_array);