]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/active_filter.php
Extension ext-coupon continued, naming convention, many improvements:
[mailer.git] / inc / filter / active_filter.php
index 2132e64b7ad3b0660e8bbca8dbab3abdb00cbbb7..7a7c1b248b599944747cc80508091c68a65c4669 100644 (file)
@@ -41,8 +41,9 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Filter for adding link to "active list"
-function FILTER_ADD_LINK_ACTIVE_LIST () {
+function FILTER_ADD_LINK_ACTIVE_LIST ($data) {
        // Is ext-active/online there?
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
        if ((isExtensionActive('active')) && (isExtensionActive('online'))) {
                // Init fake-content because there is no `what`='active' in database
                $content = array(
@@ -55,6 +56,10 @@ function FILTER_ADD_LINK_ACTIVE_LIST () {
                // Add link to "we were active today" page
                $GLOBALS['rows'] .= loadTemplate('guest_menu_bottom', true, $content);
        } // END - if
+
+       // Return data
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
+       return $data;
 }
 
 // [EOF]