From 87ec3d7feaedc244c84a14a20bd0dc756d832c62 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 2 Jul 2019 13:04:29 -0600 Subject: [PATCH] Update app_defaults.php --- app/ring_groups/app_defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ring_groups/app_defaults.php b/app/ring_groups/app_defaults.php index cde18755f8..da6e54ebde 100644 --- a/app/ring_groups/app_defaults.php +++ b/app/ring_groups/app_defaults.php @@ -29,11 +29,11 @@ if ($domains_processed == 1) { //select ring groups with an empty context $sql = "select * from v_ring_groups where ring_group_context is null "; + $database = new database; $ring_groups = $database->select($sql, null, 'all'); if (is_array($ring_groups)) { //get the domain list $sql = "select * from v_domains "; - $database = new database; $domains = $database->select($sql, null, 'all'); //update the ring group context