Prevent an error
This commit is contained in:
@@ -906,7 +906,7 @@
|
|||||||
}
|
}
|
||||||
//mos (mean opinion score)
|
//mos (mean opinion score)
|
||||||
if (permission_exists("xml_cdr_mos")) {
|
if (permission_exists("xml_cdr_mos")) {
|
||||||
if(!empty($row['rtp_audio_in_mos'])) {
|
if(!empty($row['rtp_audio_in_mos']) && is_numeric($row['rtp_audio_in_mos'])) {
|
||||||
$title = " title='".$text['label-mos_score-'.round($row['rtp_audio_in_mos'])]."'";
|
$title = " title='".$text['label-mos_score-'.round($row['rtp_audio_in_mos'])]."'";
|
||||||
$value = $row['rtp_audio_in_mos'];
|
$value = $row['rtp_audio_in_mos'];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user