X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fhtml_mail_functions.php;h=62c13a1a9bb0409721159789f0e129c2850a2f84;hb=f2edf32502b2774dc17ef419a2e6a1c60e361c0a;hp=86584ac60845622c78c6343d531e8234ddbbedd3;hpb=2df8c1757b41f35e7c5b6a92c52ca96ab1b0bcb8;p=mailer.git diff --git a/inc/libs/html_mail_functions.php b/inc/libs/html_mail_functions.php index 86584ac608..62c13a1a9b 100644 --- a/inc/libs/html_mail_functions.php +++ b/inc/libs/html_mail_functions.php @@ -82,7 +82,7 @@ function insertUrlsIntoHtml ($text) { } // END - foreach // Now replace the URL against anchor container and pray... - $text = substr($text, 0, strpos($text, $check2)) . '' . $check . '' . substr($text, strpos($text, $check2) + strlen($check)); + $text = substr($text, 0, strpos($text, $check2)) . '' . $check . '' . substr($text, strpos($text, $check2) + strlen($check)); // Finally remove the url from testing string (or we have a loop and maybe server overload!) $test = substr($test, strpos($test, $check) + strlen($check));