Wernis extension fixed
[mailer.git] / confirm.php
index 6e44e253088f1ed91f784000f3bdab51d8b1df3e..571941f329d8aa95de5401d6f45397d0ca91d271 100644 (file)
@@ -45,7 +45,7 @@ $GLOBALS['module'] = "confirm"; $CSS = -1;
 require ("inc/config.php");
 
 // Is the script installed?
-if (defined('mxchange_installed') && (mxchange_installed) && (admin_registered))
+if (defined('mxchange_installed') && (isBooleanConstantAndTrue('mxchange_installed')) && (isBooleanConstantAndTrue('admin_registered')))
 {
        // Base URL for redirection
        $URL = URL."/modules.php?module=index&what=confirm&hash=";