reading and checking for session variables rewritten
[mailer.git] / ref.php
diff --git a/ref.php b/ref.php
index 26e6087..456fc3b 100644 (file)
--- 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
 require ("inc/config.php");
 
 // Redirect only to registration page when this script is installed
-if (defined('mxchange_installed') && (mxchange_installed))
+if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_installed')))
 {
        // Base URL for redirection
        switch ($_CONFIG['refid_target'])
 {
        // Base URL for redirection
        switch ($_CONFIG['refid_target'])