More fixes for admin password hashing
[mailer.git] / ref.php
diff --git a/ref.php b/ref.php
index 26e6087fe198b8e85b131eb31628497fe605b766..456fc3b9691169625ca332d91624ff6ab7c7f977 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
-if (defined('mxchange_installed') && (mxchange_installed))
+if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_installed')))
 {
        // Base URL for redirection
        switch ($_CONFIG['refid_target'])