mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-03 18:33:49 +00:00
Check variables correctly to see if ringback is already set.
This commit is contained in:
@@ -114,7 +114,7 @@ EOD;
|
||||
if ($domains_processed == 1) {
|
||||
//set the ringback
|
||||
$sql = "select count(*) as num_rows from v_vars ";
|
||||
$sql .= "where var_name = 'domain_uuid' ";
|
||||
$sql .= "where var_name = 'ringback' ";
|
||||
$prep_statement = $db->prepare($sql);
|
||||
if ($prep_statement) {
|
||||
$prep_statement->execute();
|
||||
|
||||
Reference in New Issue
Block a user