Update switch_music_on_hold.php
This commit is contained in:
parent
2851616ce4
commit
44dffc5ea1
|
|
@ -129,7 +129,7 @@ include "root.php";
|
|||
$sql .= "from v_music_on_hold as m ";
|
||||
$sql .= "left join v_domains as d ON d.domain_uuid = m.domain_uuid ";
|
||||
$sql .= "where (m.domain_uuid = '".$this->domain_uuid."' or m.domain_uuid is null) ";
|
||||
$sql .= "order by m.domain_uuid desc, music_on_hold_rate asc, music_on_hold_name asc";
|
||||
$sql .= "order by m.domain_uuid desc, music_on_hold_name asc, music_on_hold_rate asc ";
|
||||
$prep_statement = $this->db->prepare(check_sql($sql));
|
||||
$prep_statement->execute();
|
||||
return $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
||||
|
|
|
|||
Loading…
Reference in New Issue