Extension ext-coupon continued, naming convention, many improvements:
[mailer.git] / inc / filter / politician_stop_filter.php
index 8a66346a2d934674dcf469f191a4e7ee7ccbd9b6..56ed51f16700e8f519f2f396d96f58da63903de2 100644 (file)
@@ -41,12 +41,17 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Filter for displaying politician_stop snippet
-function FILTER_DISPLAY_POLITICIAN_STOP_SNIPPET () {
+function FILTER_DISPLAY_POLITICIAN_STOP_SNIPPET ($data) {
        // Shall we include the politician_stop snippet?
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
        if ((!isGetRequestParameterSet('frame')) && (isExtensionActive('politician_stop')) && (getModule() != 'admin') && ($GLOBALS['header_sent'] == 2)) {
                // Then display it here
                loadPoliticianStopSnippet();
        } // END - if
+
+       // Return data
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+       return $data;
 }
 
 // [EOF]