]> git.mxchange.org Git - mailer.git/blobdiff - doubler.php
Prefix in SQLs fixed, fixes for first startup and weekly/monthly reset is run without...
[mailer.git] / doubler.php
index 9eb0c4e9180ef6962a441aa04ff6c966022ac543..983653ddaa6a4a829de321fdca69bcf708aaa6f2 100644 (file)
@@ -51,9 +51,9 @@ require("inc/config.php");
 REDIRECT_ON_UNINSTALLED_EXTENSION("doubler");
 
 // Is the script installed?
-if (isBooleanConstantAndTrue('mxchange_installed')) {
+if (isInstalled()) {
        // Probe for referal ID
-       if (REQUEST_ISSET_GET(('refid'))) $GLOBALS['refid'] = SQL_ESCAPE(REQUEST_GET('refid'));
+       if (REQUEST_ISSET_GET(('refid'))) $GLOBALS['refid'] = REQUEST_GET(('refid'));
 
        // Only check this if refid is provided!
        if ($GLOBALS['refid'] > 0) {