Update app_defaults.php

This commit is contained in:
FusionPBX 2019-07-02 13:03:47 -06:00 committed by GitHub
parent 83fa359e48
commit df4d87ed4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -29,11 +29,11 @@ if ($domains_processed == 1) {
//select ivr menus with an empty context
$sql = "select * from v_ivr_menus where ivr_menu_context is null ";
$database = new database;
$ivr_menus = $database->select($sql, null, 'all');
if (is_array($ivr_menus)) {
//get the domain list
$sql = "select * from v_domains ";
$database = new database;
$domains = $database->select($sql, null, 'all');
//update the ivr menu context