From 20a54299049ed7432bc19d977fd73478c2b3ccc0 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Sun, 19 Dec 2010 10:38:33 +0000 Subject: [PATCH] Suppressed strict warnings in reporting module. --- includes/errors.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/errors.inc b/includes/errors.inc index f55951c..7654ba7 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; -- 2.30.2