From edb3178def11e0ca595d467fe2e86010a369cdbc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 28 Apr 2012 18:47:54 +0200 Subject: [PATCH] Fix: Bad declaration of error_reporting --- htdocs/filefunc.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/filefunc.inc.php b/htdocs/filefunc.inc.php index f44a349884e..8c8fab80ee4 100755 --- a/htdocs/filefunc.inc.php +++ b/htdocs/filefunc.inc.php @@ -54,7 +54,7 @@ if (! defined('LOG_DEBUG')) } // Force PHP error_reporting setup (Dolibarr may report warning without this) -error_reporting(E_ALL ^ E_NOTICE ^ E_STRICT); +error_reporting(E_ALL & ~(E_STRICT|E_NOTICE)); //error_reporting(E_ALL | E_STRICT); // End of common declaration part