Update ringbacks.php

Change the where clause for ringtones to match the category change.
This commit is contained in:
FusionPBX
2016-08-22 20:09:49 -06:00
committed by GitHub
parent 8eba8c2815
commit 79242f231b

View File

@@ -51,7 +51,7 @@ if (!class_exists('ringbacks')) {
//get the ringback types
$sql = "select * from v_vars ";
$sql .= "where var_cat = 'Defaults' ";
$sql .= "where var_cat = 'Ringtones' ";
$sql .= "and var_name LIKE '%-ring' ";
$sql .= "order by var_name asc ";
$prep_statement = $this->db->prepare(check_sql($sql));