瀏覽代碼

Update domain_edit.php

FusionPBX 5 年之前
父節點
當前提交
cf6ab60d8c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/domains/domain_edit.php

+ 2 - 2
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);
 					}