]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/newsletter_functions.php
More usage of wrapper functions
[mailer.git] / inc / libs / newsletter_functions.php
index b5159ca8eabb40ca1d03f84e4d3487a253a41b36..1cb6390749e8ad16c4cbc38ba3d61736ae86f332 100644 (file)
@@ -50,7 +50,9 @@ function insertNewsletterUrls ($text) {
 
                // See ext-html.php if you want to add more URL ends...
                foreach ($GLOBALS['url_ends'] as $end) {
-                       if (isInString($end, $check)) $check = substr($check, 0, strpos($check, $end));
+                       if (isInString($end, $check)) {
+                               $check = substr($check, 0, strpos($check, $end));
+                       } // END - if
                } // END - foreach
 
                // Now replace the URL against anchor container and pray...