Skip to content

Commit

Permalink
Fixed warning handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
baselbers authored and baselbers committed Jul 21, 2017
1 parent c51b080 commit e73744d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
}

$errorlevel = error_reporting();
$errorlevel = error_reporting($errorlevel & ~E_NOTICE);
$errorlevel = error_reporting($errorlevel & ~(E_NOTICE|E_WARNING));

//error_reporting(E_ALL);

Expand Down

0 comments on commit e73744d

Please sign in to comment.