Fix. fax_emails.php relay on number cleanup in fax_send.php

This commit is contained in:
Alexey Melnichuk 2015-11-19 14:48:41 +03:00
parent c146f9fc4f
commit 2aff851929
1 changed files with 0 additions and 4 deletions

View File

@ -170,10 +170,6 @@ if (sizeof($result) != 0) {
else { else {
$fax_numbers[] = $tmp; $fax_numbers[] = $tmp;
} }
foreach ($fax_numbers as $index => $fax_number) {
$fax_numbers[$index] = preg_replace("~[^0-9]~", "", $fax_number);
if ($fax_numbers[$index] == '') { unset($fax_numbers[$index]); }
}
unset($fax_subject); //clear so not on cover page unset($fax_subject); //clear so not on cover page
//get email body (if any) for cover page //get email body (if any) for cover page