In all lead loaders filter the alt_phone field for non-digits

git-svn-id: svn://192.168.202.10@248 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2006-09-06 15:08:40 +00:00
parent a0eea33a25
commit 671e4c216f
5 changed files with 14 additions and 7 deletions
+2 -1
View File
@@ -12,6 +12,7 @@
# 60616-1006 - added listID override and gmt_offset lookup while loading
# 60619-1652 - Added variable filtering to eliminate SQL injection attack threat
# 60822-1105 - fixed for nonwritable directories
# 60906-1059 - added filter of non-digits in alt_phone field
#
# make sure vicidial_list exists and that your file follows the formatting correctly. This page does not dedupe or do any other lead filtering actions yet at this time.
#
@@ -203,7 +204,7 @@ if ($leadfile and filesize($LF_path)<=8388608) {
$country = $row[16];
$gender = $row[17];
$date_of_birth = $row[18];
$alt_phone = $row[19];
$alt_phone = eregi_replace("[^0-9]", "", $row[19]);
$email = $row[20];
$security_phrase = $row[21];
$comments = trim($row[22]);