Update content.php

This commit is contained in:
FusionPBX 2024-05-29 14:08:09 -06:00 committed by GitHub
parent cf8087916b
commit 3ceea47824
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ if (is_array($activity)) {
$ext_state = 'held'; $ext_state = 'held';
} }
$dir_icon = 'inbound'; $dir_icon = 'inbound';
$call_name = $activity[$ext['cid_num']]['effective_caller_id_name']; $call_name = $activity[$ext['cid_num']]['effective_caller_id_name'] ?? '';
$call_number = format_phone($ext['cid_num']); $call_number = format_phone($ext['cid_num']);
} }
else { else {