mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update ringbacks.php
Change the where clause for ringtones to match the category change.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user