Update music_on_hold.php

This commit is contained in:
FusionPBX 2018-07-02 10:03:49 -06:00 committed by GitHub
parent 7d404bb356
commit dd30383eda
1 changed files with 2 additions and 2 deletions

View File

@ -526,7 +526,7 @@
}
if (is_array($stream_icons) && sizeof($stream_icons) > 0) {
foreach ($stream_icons as $stream_icon) {
$icons .= "<span class='glyphicon ".$stream_icon['glyphicon']." icon_glyphicon_body' title='".$stream_icon['title']."' style='width: 12px; height: 12px; margin-left: ".(($stream_icon['margin'] != '') ? $stream_icon['margin'] : 8)."px; vertical-align: text-top; cursor: help;'></span>";
$icons .= "<span class='glyphicon ".$stream_icon['glyphicon']." icon_glyphicon_body' title='".escape($stream_icon['title'])."' style='width: 12px; height: 12px; margin-left: ".(($stream_icon['margin'] != '') ? $stream_icon['margin'] : 8)."px; vertical-align: text-top; cursor: help;'></span>";
}
}
@ -557,7 +557,7 @@
//add the uuid of to the link
if (permission_exists('music_on_hold_edit')) {
$tr_link = "href='music_on_hold_edit.php?id=".$row['music_on_hold_uuid']."'";
$tr_link = "href='music_on_hold_edit.php?id=".escape($row['music_on_hold_uuid'])."'";
}
//get the music on hold path