From 731d6d1e47fedce25fc9f4c4a764b724dd7955bc Mon Sep 17 00:00:00 2001 From: fusionate Date: Wed, 1 Mar 2023 22:43:43 +0000 Subject: [PATCH] Domains - Edit: Update Call Center Agent Contact on domain rename. --- 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 e23469d83b..9a8211b682 100644 --- a/core/domains/domain_edit.php +++ b/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 ";