A lot while() conditions rewritten to SQL_FETCHARRAY(), see bug #107, @TODO tags...
[mailer.git] / js.php
diff --git a/js.php b/js.php
index ea67c9dd581682c9c4e63e7a04193f013f96cb3c..ec46e60e499120e90d8cf3eda625062b27b1a01f 100644 (file)
--- a/js.php
+++ b/js.php
@@ -55,7 +55,7 @@ $GLOBALS['module'] = "js";
 require("inc/config.php");
 
 // Is this script installed and a JavaScript tag is provied?
-if ((isBooleanConstantAndTrue('mxchange_installed')) && (REQUEST_ISSET_GET(('tag')))) {
+if ((isInstalled()) && (REQUEST_ISSET_GET(('tag')))) {
        // Set header
        header("Content-type: text/javascript");