diff --git a/inc.php b/inc.php index 73f17db8..822dfc23 100644 --- a/inc.php +++ b/inc.php @@ -23,7 +23,7 @@ || (basename($_SERVER['SCRIPT_NAME']) == 'item_thumb.php' && optional_param('item_id', '0', PARAM_INT) > 0) // item thumbnials ) { @$CFG->debug = 5; - @error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING); + @error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED); @ini_set('display_errors', '5'); } require_once(__DIR__ . '/lib/lib.php');