Several code cleanups:
[mailer.git] / inc / filter / removeip_filter.php
index 850038abb664b553a17810c12187fdd9063c03c5..35dd8d9080ad2f0db3360dc71f2740b0dba18e23 100644 (file)
@@ -41,13 +41,13 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Filter for adding anonymity notice to the output stream
-function FILTER_ADD_ANONYMITY_NOTICE ($data) {
+function FILTER_ADD_ANONYMITY_NOTICE ($filterData) {
        // Init content
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
-       $content = $data;
+       $content = $filterData;
 
        // Extension removeip activated?
-       if ((isExtensionActive('removeip')) && (getConfig('removeip_' . strtolower($data['access_level']) . '_show') == 'Y')) {
+       if ((isExtensionActive('removeip')) && (getConfig('removeip_' . strtolower($filterData['access_level']) . '_show') == 'Y')) {
                // Add anoymity/privacy infos
                $content['content'] .= addAnonymityLevel() . "<br />\n";
        } // END - if