X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffilter%2Fremoveip_filter.php;h=35bab24faff479c9abd3c7517b47b03bf2a9891f;hb=6b1e55213d76a67e9aa3d9f1e4dcb55e0bbf12ee;hp=39afe012573dee4ede756df87500d0b2f43825ff;hpb=24dfd21baed6a9a112992bdabf7da96576012bc4;p=mailer.git diff --git a/inc/filter/removeip_filter.php b/inc/filter/removeip_filter.php index 39afe01257..35bab24faf 100644 --- a/inc/filter/removeip_filter.php +++ b/inc/filter/removeip_filter.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -41,17 +41,19 @@ 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 - $content = $data; + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!'); + $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() . "
\n"; } // END - if // Return it + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!'); return $content; }