Fix missed_call use as boolean

This commit is contained in:
FusionPBX 2025-03-11 19:54:54 -06:00 committed by GitHub
parent c3e5647c03
commit af9691ff41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -827,7 +827,7 @@
if ($row['hangup_cause'] == 'NO_ANSWER') {
$status = 'no_answer';
}
if ($row['missed_call'] == '1') {
if ($row['missed_call']) {
$status = 'missed';
}
if (substr($row['destination_number'], 0, 3) == '*99') {