mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/13306] allow 0 error types
https://tracker.phpbb.com/browse/PHPBB3-13306 PHPBB3-13306
This commit is contained in:
@@ -31,7 +31,7 @@ class error_collector
|
|||||||
function __construct($error_types = null)
|
function __construct($error_types = null)
|
||||||
{
|
{
|
||||||
$this->errors = array();
|
$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()
|
function install()
|
||||||
|
Reference in New Issue
Block a user