From e7de9d4884d1d33e6becf2954d3e200c21584bfc Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 24 Jun 2025 14:20:05 -0600 Subject: [PATCH] Prevent error with null --- app/active_calls/active_calls.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/active_calls/active_calls.php b/app/active_calls/active_calls.php index 755fcd6554..2164434e03 100644 --- a/app/active_calls/active_calls.php +++ b/app/active_calls/active_calls.php @@ -616,6 +616,7 @@ echo "\n"; update_call_element(`caller_id_name_${uuid}`, origin_name); //remove the call arrow const span = document.getElementById(`arrow_${uuid}`); + if (!span) { return; } span.removeChild(span.firstChild); } if (call.topic === 'exit') {