mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix missed_call use as boolean
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user