diff --git a/htdocs/filefunc.inc.php b/htdocs/filefunc.inc.php
index 72685068e0b91360122f6a2f46866462c9353f40..1dffc3d9dfd723daf0e070d22002ef946a5eb578 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_STRICT|E_NOTICE));
+error_reporting(E_ALL & ~(E_STRICT|E_NOTICE|E_DEPRECATED));
 //error_reporting(E_ALL | E_STRICT);