BugFix-Vars (#1818)

corrected the system default us-ring category to 'Ringtones'
remove var_name like as var_cat now takes care of this
This commit is contained in:
Mafoo
2016-08-25 18:12:00 +01:00
committed by FusionPBX
parent 4bb8559a36
commit c01e505f27
2 changed files with 2 additions and 3 deletions

View File

@@ -52,7 +52,6 @@ if (!class_exists('ringbacks')) {
//get the ringback types
$sql = "select * from v_vars ";
$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));
$prep_statement->execute();