aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authoromniError <omniError@github>2014-11-11 20:23:13 -0600
committeromniError <omniError@github>2014-11-11 20:23:13 -0600
commit834a93f76c9b2efe9a4fa89200fe24f844df7479 (patch)
tree1ead439644607c8ed0b68594e71fe0537f2b3dd3 /phpBB/phpbb
parentefd4b43c1bbea587a480c145d8a79066ae78d9a3 (diff)
downloadforums-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.php2
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()