Prevent an error
This commit is contained in:
parent
b1589bac86
commit
1acb30a7fe
|
|
@ -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'];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue