modify lead loader to accept phone numbers 7 digits in length and higher

git-svn-id: svn://192.168.202.10@38 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2006-07-13 17:15:04 +00:00
parent 58f63a9cc2
commit c8d58ee6e1
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ if ($leadfile and filesize($LF_path)<=8388608) {
$security_phrase = $row[21]; $security_phrase = $row[21];
$comments = trim($row[22]); $comments = trim($row[22]);
if (strlen($phone_number)>8) if (strlen($phone_number)>6)
{ {
$entry_date = "$pulldate"; $entry_date = "$pulldate";
$modify_date = ""; $modify_date = "";
+1 -1
View File
@@ -159,7 +159,7 @@ foreach $oWkS (@{$oBook->{Worksheet}}) {
if ($oWkC) {$comments=$oWkC->Value; } if ($oWkC) {$comments=$oWkC->Value; }
$comments=~s/^\s*(.*?)\s*$/$1/; $comments=~s/^\s*(.*?)\s*$/$1/;
if (length($phone_number)>8) { if (length($phone_number)>6) {
if (length($forcelistid) > 0) if (length($forcelistid) > 0)
{ {
$list_id = $forcelistid; # set list_id to override value $list_id = $forcelistid; # set list_id to override value
@@ -160,7 +160,7 @@ foreach $oWkS (@{$oBook->{Worksheet}}) {
if ($oWkC) {$comments=$oWkC->Value; } if ($oWkC) {$comments=$oWkC->Value; }
$comments=~s/^\s*(.*?)\s*$/$1/; $comments=~s/^\s*(.*?)\s*$/$1/;
if (length($phone_number)>8) { if (length($phone_number)>6) {
if (length($forcelistid) > 0) if (length($forcelistid) > 0)
{ {
$list_id = $forcelistid; # set list_id to override value $list_id = $forcelistid; # set list_id to override value
@@ -364,7 +364,7 @@ function ParseFileName() {
$security_phrase = $row[$security_phrase_field]; $security_phrase = $row[$security_phrase_field];
$comments = trim($row[$comments_field]); $comments = trim($row[$comments_field]);
if (strlen($phone_number)>8) { if (strlen($phone_number)>6) {
if (strlen($list_id_override)>0) if (strlen($list_id_override)>0)
@@ -471,7 +471,7 @@ function ParseFileName() {
$security_phrase = $row[$security_phrase_field]; $security_phrase = $row[$security_phrase_field];
$comments = trim($row[$comments_field]); $comments = trim($row[$comments_field]);
if (strlen($phone_number)>8) { if (strlen($phone_number)>6) {
if (strlen($list_id_override)>0) if (strlen($list_id_override)>0)
{ {
@@ -590,7 +590,7 @@ if ($leadfile && filesize($LF_path)<=8388608) {
$security_phrase = $row[21]; $security_phrase = $row[21];
$comments = trim($row[22]); $comments = trim($row[22]);
if (strlen($phone_number)>8) { if (strlen($phone_number)>6) {
if (strlen($list_id_override)>0) if (strlen($list_id_override)>0)
{ {
@@ -691,7 +691,7 @@ if ($leadfile && filesize($LF_path)<=8388608) {
$security_phrase = $row[21]; $security_phrase = $row[21];
$comments = trim($row[22]); $comments = trim($row[22]);
if (strlen($phone_number)>8) { if (strlen($phone_number)>6) {
if (strlen($list_id_override)>0) if (strlen($list_id_override)>0)
{ {