Explorar o código

Domains - Edit: Update Call Center Agent Contact on domain rename.

fusionate %!s(int64=2) %!d(string=hai) anos
pai
achega
0081aafe95
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      core/domains/domain_edit.php

+ 2 - 2
core/domains/domain_edit.php

@@ -382,7 +382,7 @@
 							}
 
 						//update call center queue record templates
-							if (file_exists($_SERVER["PROJECT_ROOT"]."/app/call_center/app_config.php")) {
+							if (file_exists($_SERVER["PROJECT_ROOT"]."/app/call_centers/app_config.php")) {
 								$sql = "update v_call_center_queues set ";
 								$sql .= "queue_record_template = replace(queue_record_template, :domain_name_old, :domain_name_new) ";
 								$sql .= "where domain_uuid = :domain_uuid ";
@@ -395,7 +395,7 @@
 							}
 
 						//update call center agent contacts
-							if (file_exists($_SERVER["PROJECT_ROOT"]."/app/call_center/app_config.php")) {
+							if (file_exists($_SERVER["PROJECT_ROOT"]."/app/call_centers/app_config.php")) {
 								$sql = "update v_call_center_agents set ";
 								$sql .= "agent_contact = replace(agent_contact, :domain_name_old, :domain_name_new) ";
 								$sql .= "where domain_uuid = :domain_uuid ";