diff --git a/agc_2-X/trunk/www/agc/functions.php b/agc_2-X/trunk/www/agc/functions.php index cc12dd7e..50082168 100644 --- a/agc_2-X/trunk/www/agc/functions.php +++ b/agc_2-X/trunk/www/agc/functions.php @@ -73,7 +73,7 @@ function custom_list_fields_values($lead_id,$list_id,$uniqueid,$user) $A_field_order[$o] = $rowx[15]; $A_field_value[$o] = ''; - if (!preg_match("/\|$A_field_label[$o]\|/",$vicidial_list_fields)) + if (!preg_match("/\|$A_field_label[$o]\|/i",$vicidial_list_fields)) { if ( ($A_field_type[$o]=='DISPLAY') or ($A_field_type[$o]=='SCRIPT') ) { @@ -118,7 +118,7 @@ function custom_list_fields_values($lead_id,$list_id,$uniqueid,$user) $A_field_value[$o] = trim("$row[$o]"); if ($A_field_select[$o]=='----EMPTY----') {$A_field_value[$o]='';} - if (preg_match("/\|$A_field_label[$o]\|/",$vicidial_list_fields)) + if (preg_match("/\|$A_field_label[$o]\|/i",$vicidial_list_fields)) {$A_field_value[$o] = '--A--' . $A_field_label[$o] . '--B--';} $o++; } diff --git a/agc_2-X/trunk/www/agc/vdc_form_display.php b/agc_2-X/trunk/www/agc/vdc_form_display.php index 097d21b0..de71058b 100644 --- a/agc_2-X/trunk/www/agc/vdc_form_display.php +++ b/agc_2-X/trunk/www/agc/vdc_form_display.php @@ -14,10 +14,11 @@ # 100916-1749 - Added non-lead variable parsing # 110719-0856 - Added HIDEBLOB type # 110730-2335 - Added call_id variable +# 111025-1433 - Fixed case sensitivity on list fields # -$version = '2.4-6'; -$build = '110730-2335'; +$version = '2.4-7'; +$build = '111025-1433'; require("dbconnect.php"); require_once("functions.php"); @@ -316,7 +317,7 @@ if ($stage=='SUBMIT') } else { - if (preg_match("/\|$A_field_label[$o]\|/",$vicidial_list_fields)) + if (preg_match("/\|$A_field_label[$o]\|/i",$vicidial_list_fields)) { $VL_update_SQL .= "$A_field_label[$o]='$A_field_value[$o]',"; }