X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffunctions.php;h=3cdabf7e3e09ff0c32816a90d0a133e6ad209b27;hp=1ef5165a5a35d301c484bb8fce92f98306cdc59e;hb=0da26ebf67e1a6c8e5ab5f23639c6abd99d84b2d;hpb=c11d3955226b4a0193b692f3bbd39a0505bf61f1 diff --git a/inc/functions.php b/inc/functions.php index 1ef5165a5a..3cdabf7e3e 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -930,7 +930,7 @@ function LOAD_URL($URL, $addUrlData=true) { } else { // Output error message include(PATH."inc/header.php"); - LOAD_TEMPLATE("redirect_url", false, $URL); + LOAD_TEMPLATE("redirect_url", false, str_replace("&", "&", $URL)); include(PATH."inc/footer.php"); } exit(); @@ -1635,7 +1635,7 @@ function ADD_EMAIL_NAV($PAGES, $offset, $show_form, $colspan, $return=false) { } // -function MXCHANGE_OPEN($script) { +function MXCHANGE_OPEN ($script) { // Compile the script name $script = COMPILE_CODE($script); @@ -1659,8 +1659,7 @@ function MXCHANGE_OPEN($script) { // Open connection $fp = @fsockopen($host, 80, $errno, $errdesc, 30); - if (!$fp) - { + if (!$fp) { // Failed! return array("", "", ""); }