From dd30383edaca0a057041b1d5e07a2ee591ec5a4e Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 2 Jul 2018 10:03:49 -0600 Subject: [PATCH] Update music_on_hold.php --- app/music_on_hold/music_on_hold.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/music_on_hold/music_on_hold.php b/app/music_on_hold/music_on_hold.php index 6c4dc88554..8e9b29e055 100644 --- a/app/music_on_hold/music_on_hold.php +++ b/app/music_on_hold/music_on_hold.php @@ -526,7 +526,7 @@ } if (is_array($stream_icons) && sizeof($stream_icons) > 0) { foreach ($stream_icons as $stream_icon) { - $icons .= ""; + $icons .= ""; } } @@ -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