Fix for test call phone code issue (PHP8-related) in admin.php

git-svn-id: svn://192.168.202.10@3912 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2025-02-27 21:08:43 +00:00
parent e65da98e40
commit 99714c02c5
+4 -3
View File
@@ -6226,12 +6226,13 @@ if ($SSscript_remove_js > 0)
# 241208-1747 - Changed DID filter_phone_group_id & pre_filter_phone_group_id to multi-selects
# 250103-0843 - Added Enhanced Agent Monitoring system settings option, Changed copyright date
# 250210-1701 - Fix for PHP8 issue on User Modify page
# 250227-1607 - Fix for test call phone code issue (PHP8-related)
#
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 9 to access this page the first time
$admin_version = '2.14-935a';
$build = '250210-1701';
$admin_version = '2.14-936a';
$build = '250227-1607';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");
@@ -17228,7 +17229,7 @@ if ($ADD==41)
if (strlen($campaign_cid_override) > 6) {$CCID = "$campaign_cid_override"; $CCID_on++;}
if (preg_match("/x/",$dial_prefix)) {$Local_out_prefix = '';}
if (strlen($ext_context) < 1) {$ext_context='default';}
if ($omit_phone_code > 0) {$Ndialstring = "$Local_out_prefix$phone_number";}
if (preg_match('/Y/i', $omit_phone_code)) {$Ndialstring = "$Local_out_prefix$phone_number";}
else {$Ndialstring = "$Local_out_prefix$phone_code$phone_number";}
# generate callerID for unique identifier in xfer_log file