X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Ferrors.inc;h=7654ba70e676320c24f1ea088bfc83293f97f814;hb=25c7baa5d19f94e705ece3b8af3cb3a43b9c1830;hp=f55951cf4652c1cc69d4f8f0a2bb0c070fc71626;hpb=46c5f7a65a7659a44ae8254c63152074363d3987;p=fa-stable.git 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;