]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/politician-stop_filter.php
More improvements:
[mailer.git] / inc / filter / politician-stop_filter.php
index b538e3c6d955995348a4753366a5a65d89bd683c..915e6613c937e65d13a126386d89f007d5fd614c 100644 (file)
@@ -45,11 +45,11 @@ function FILTER_DISPLAY_POLITICIAN_STOP_SNIPPET ($filterData) {
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
 
        // Shall we include the politician_stop snippet?
-       /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'isFullPage()=' . intval(isFullPage()) . ',isExtensionActive()=' . intval(isExtensionActive('politician-stop')) . ',getModule()=' . getModule() . ',__header_sent=' . $GLOBALS['__header_sent']);
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'isFullPage()=' . intval(isFullPage()) . ',isExtensionActive()=' . intval(isExtensionActive('politician-stop')) . ',getModule()=' . getModule() . ',__header_sent=' . $GLOBALS['__header_sent']);
        if ((isFullPage()) && (isExtensionActive('politician-stop')) && (getModule() != 'admin') && ($GLOBALS['__header_sent'] == 2)) {
                // Then display it here
-               /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Going to load template ...');
-               $filterData .= loadTemplate('politician_stop_snippet', true);
+               //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Going to load template ...');
+               $filterData .= loadTemplate('politician_stop_snippet', TRUE);
        } // END - if
 
        // Return data