X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=ref.php;h=e6e51d7b83f32eb87eb95da143a01c512d6ed557;hb=bd1c7ebbcafe3833b12f782e26b2f7c4460c11f4;hp=d733f53f890d8728273b27f436b060d88761f03d;hpb=daefa5dc8ffd7773e0c2556a5dcf33fa52196180;p=mailer.git diff --git a/ref.php b/ref.php index d733f53f89..e6e51d7b83 100644 --- a/ref.php +++ b/ref.php @@ -45,7 +45,7 @@ $GLOBALS['module'] = "ref"; $CSS = -1; require ("inc/config.php"); // Redirect only to registration page when this script is installed -if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_installed'))) { +if (isBooleanConstantAndTrue('mxchange_installed')) { // Base URL for redirection switch ($_CONFIG['refid_target']) { @@ -73,7 +73,7 @@ if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_install } // END - if // Also edit this 0 ! - if (empty($ref)) $ref = "0"; + if (empty($ref)) $ref = 0; // We have an refid here. So we simply add it $URL .= bigintval($ref);