mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-25 04:38:53 +00:00
[ticket/13306] allow 0 error types
https://tracker.phpbb.com/browse/PHPBB3-13306 PHPBB3-13306
This commit is contained in:
parent
efd4b43c1b
commit
834a93f76c
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class error_collector
|
|||
function __construct($error_types = null)
|
||||
{
|
||||
$this->errors = array();
|
||||
$this->error_types = !empty($error_types) ? $error_types : error_reporting();
|
||||
$this->error_types = ($error_types !== null) ? $error_types : error_reporting();
|
||||
}
|
||||
|
||||
function install()
|
||||
|
|
Loading…
Add table
Reference in a new issue