From df8d0d3ebbbcb0a061e1e1d63bef01fb095b72cb Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 22 Oct 2019 22:19:28 -0600 Subject: [PATCH] Update domain_edit.php --- core/domains/domain_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/domains/domain_edit.php b/core/domains/domain_edit.php index 8c63368450..fcb974e3ff 100644 --- a/core/domains/domain_edit.php +++ b/core/domains/domain_edit.php @@ -121,7 +121,7 @@ $database->app_name = 'domains'; $database->app_uuid = '8b91605b-f6d2-42e6-a56d-5d1ded01bb44'; $database->save($array); - + //add dialplans to the domain if (file_exists($_SERVER["PROJECT_ROOT"]."/app/dialplans/app_config.php")) { $dialplan = new dialplan; @@ -153,7 +153,7 @@ // add dialplans to the domain if (file_exists($_SERVER["PROJECT_ROOT"]."/app/dialplans/app_config.php")) { $dialplan = new dialplan; - $dialplan->import($array); + $dialplan->import($array['domains']); unset($array); }