Small fixes for vicidial web issues
git-svn-id: svn://192.168.202.10@3231 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -269,7 +269,7 @@ if ( (!preg_match("/$report_name/",$LOGallowed_reports)) and (!preg_match("/ALL
|
||||
{
|
||||
Header("WWW-Authenticate: Basic realm=\"CONTACT-CENTER-ADMIN\"");
|
||||
Header("HTTP/1.0 401 Unauthorized");
|
||||
echo "You are not allowed to view this report: |$PHP_AUTH_USER|$report_name|\n";
|
||||
echo _QXZ("You are not allowed to view this report").": |$PHP_AUTH_USER|$report_name|\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
@@ -144,10 +144,11 @@
|
||||
# 191114-1637 - Added remove_from_hopper option to update_lead function
|
||||
# 200331-1207 - Added list_custom_fields function
|
||||
# 200418-0837 - Added custom_copy_method option for the add_list function, also added this feature to update_list
|
||||
# 200423-0356 - Fix for update_lead --BLANK-- issue
|
||||
#
|
||||
|
||||
$version = '2.14-121';
|
||||
$build = '200418-0837';
|
||||
$version = '2.14-122';
|
||||
$build = '200423-0356';
|
||||
$api_url_log = 0;
|
||||
|
||||
$startMS = microtime();
|
||||
@@ -10645,7 +10646,7 @@ if ($function == 'update_lead')
|
||||
if ( (strlen($update_phone_number)>0 && $update_phone_number=='Y' && strlen($phone_number)>0) ) {$VL_update_SQL .= "phone_number='$phone_number',";}
|
||||
if ( (strlen($entry_list_id)>0) and ($custom_fields!='Y') ) {$VL_update_SQL .= "entry_list_id=\"$entry_list_id\",";}
|
||||
$VL_update_SQL = preg_replace("/,$/","",$VL_update_SQL);
|
||||
$VL_update_SQL = preg_replace("/'--BLANK--'/","''",$VL_update_SQL);
|
||||
$VL_update_SQL = preg_replace("/\"--BLANK--\"/",'""',$VL_update_SQL);
|
||||
$VL_update_SQL = preg_replace("/\n/","!N",$VL_update_SQL);
|
||||
|
||||
$n=0;
|
||||
|
||||
Reference in New Issue
Block a user