Update music_on_hold.php

Use SESSION domain_uuid instead of $domain_uuid.
This commit is contained in:
FusionPBX 2016-06-28 03:11:23 -06:00 committed by GitHub
parent eb67c3e908
commit 04a8cc80a4
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@
//get the list //get the list
$sql = "select * from v_music_on_hold "; $sql = "select * from v_music_on_hold ";
$sql .= "where ("; $sql .= "where (";
$sql .= "domain_uuid = '$domain_uuid' "; $sql .= "domain_uuid = '".$_SESSION['domain_uuid']."' ";
if (permission_exists('music_on_hold_global_view')) { if (permission_exists('music_on_hold_global_view')) {
$sql .= "or domain_uuid is null "; $sql .= "or domain_uuid is null ";
} }