A lot while() conditions rewritten to SQL_FETCHARRAY(), see bug #107, @TODO tags...
[mailer.git] / sponsor_ref.php
index 0b3345e3cecfa0138b9baec61c2cb90e49bfa8de..9e909bd3f209b25503584f0406a3fb3d73f8e678 100644 (file)
@@ -46,7 +46,7 @@ $GLOBALS['output_mode'] = "0";
 require("inc/config.php");
 
 // Redirect only to registration page when this script is installed
-if (isBooleanConstantAndTrue('mxchange_installed')) {
+if (isInstalled()) {
        // Base URL for redirection
        $URL = "modules.php?module=index&what=sponsor_reg&refid=";