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 64005da489
commit 2d53130a4a
1 changed files with 1 additions and 1 deletions

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));