From fc56b3d05d72a071ad1a514b0d1ef976ef57f940 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Mon, 1 Sep 2014 14:18:04 +0200 Subject: [PATCH] PHP 5.4 warning on deprecated mysql api is ignored to avoid folld in errors file. This is safe to use it with 5.4 in FA 2.3 anyway, will be moved to mysqli in 2.4. --- includes/errors.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/errors.inc b/includes/errors.inc index e59e14b0..0e8b2578 100644 --- a/includes/errors.inc +++ b/includes/errors.inc @@ -62,7 +62,8 @@ function error_handler($errno, $errstr, $file, $line) { // Please use restrainedly to not risk loss of important messages $excluded_warnings = array( 'html_entity_decode', 'htmlspecialchars', // nevermind encodings, special chars are processed anyway - 'should be compatible with that' // ignore cpdf/frontreport wrapper warnings + 'should be compatible with that', // ignore cpdf/frontreport wrapper warnings + 'mysql extension is deprecated' // ignore strict warning in 5.4 ); foreach($excluded_warnings as $ref) { if (strpos($errstr, $ref) !== false) { -- 2.30.2