]> git.mxchange.org Git - mailer.git/blobdiff - js.php
Complete rewrite of and , wrapper functions added, see bug #101
[mailer.git] / js.php
diff --git a/js.php b/js.php
index ebbdbd789e2464e6520a031e1f5c274a7b84f919..575a6be16d270d00b680e99b7d4952429576a9d9 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')) && (isset($_GET['tag']))) {
+if ((isBooleanConstantAndTrue('mxchange_installed')) && (REQUEST_ISSET_GET(('tag')))) {
        // Set header
        header("Content-type: text/javascript");
 
@@ -64,7 +64,7 @@ if ((isBooleanConstantAndTrue('mxchange_installed')) && (isset($_GET['tag']))) {
 
        // Prepare include file for looking
        $INC = sprintf("inc/js/tag-%s.php",
-               SQL_ESCAPE($_GET['tag'])
+               SQL_ESCAPE(REQUEST_GET('tag'))
        );
 
        // Is that file readable?