Skip to content
Snippets Groups Projects
Commit 92fb64d1 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: PHP 5.2 compatibility

parent d57ba942
Branches main
No related tags found
No related merge requests found
......@@ -82,6 +82,7 @@ if (! empty($dolibarr_strict_mode))
}
else
{
if (! defined('E_DEPRECATED')) define('E_DEPRECATED',0); // For PHP < 5.3.0 compatibility
error_reporting(E_ALL & ~(E_STRICT|E_NOTICE|E_DEPRECATED));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment