aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
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()