From: Janusz Dobrowolski Date: Sun, 19 Dec 2010 10:38:33 +0000 (+0000) Subject: Suppressed strict warnings in reporting module. X-Git-Tag: 2.3-final~858 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=9e888e369c2efd972d959f2b07816df68b822fcf;p=fa-stable.git Suppressed strict warnings in reporting module. --- diff --git a/includes/errors.inc b/includes/errors.inc index f55951cf..7654ba70 100644 --- a/includes/errors.inc +++ b/includes/errors.inc @@ -21,7 +21,10 @@ function error_handler($errno, $errstr, $file, $line) { // skip well known warnings we don't care about. // Please use restrainedly to not risk loss of important messages - $excluded_warnings = array('html_entity_decode', 'htmlspecialchars'); + $excluded_warnings = array( + 'html_entity_decode', 'htmlspecialchars', // nevermind encodings, special chars are processed anyway + 'should be compatible with that' // ignore cpdf/frontreport wrapper warnings + ); foreach($excluded_warnings as $ref) { if (strpos($errstr, $ref) !== false) { return true;