Extension ext-coupon continued, naming convention, many improvements:
[mailer.git] / inc / filter / removeip_filter.php
index 39afe012573dee4ede756df87500d0b2f43825ff..850038abb664b553a17810c12187fdd9063c03c5 100644 (file)
@@ -43,15 +43,17 @@ if (!defined('__SECURITY')) {
 // Filter for adding anonymity notice to the output stream
 function FILTER_ADD_ANONYMITY_NOTICE ($data) {
        // Init content
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
        $content = $data;
 
        // Extension removeip activated?
-       if ((isExtensionActive('removeip')) && (getConfig('removeip_'.strtolower($data['access_level']).'_show') == 'Y')) {
+       if ((isExtensionActive('removeip')) && (getConfig('removeip_' . strtolower($data['access_level']) . '_show') == 'Y')) {
                // Add anoymity/privacy infos
                $content['content'] .= addAnonymityLevel() . "<br />\n";
        } // END - if
 
        // Return it
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
        return $content;
 }