diff options
author | omniError <omniError@github> | 2014-11-11 20:23:13 -0600 |
---|---|---|
committer | omniError <omniError@github> | 2014-11-11 20:23:13 -0600 |
commit | 834a93f76c9b2efe9a4fa89200fe24f844df7479 (patch) | |
tree | 1ead439644607c8ed0b68594e71fe0537f2b3dd3 /phpBB/phpbb | |
parent | efd4b43c1bbea587a480c145d8a79066ae78d9a3 (diff) | |
download | forums-834a93f76c9b2efe9a4fa89200fe24f844df7479.tar forums-834a93f76c9b2efe9a4fa89200fe24f844df7479.tar.gz forums-834a93f76c9b2efe9a4fa89200fe24f844df7479.tar.bz2 forums-834a93f76c9b2efe9a4fa89200fe24f844df7479.tar.xz forums-834a93f76c9b2efe9a4fa89200fe24f844df7479.zip |
[ticket/13306] allow 0 error types
https://tracker.phpbb.com/browse/PHPBB3-13306
PHPBB3-13306
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/error_collector.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/error_collector.php b/phpBB/phpbb/error_collector.php index 50587cc4ef..688bc0c422 100644 --- a/phpBB/phpbb/error_collector.php +++ b/phpBB/phpbb/error_collector.php @@ -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() |