aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di/container_builder.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/di/container_builder.php')
-rw-r--r--phpBB/phpbb/di/container_builder.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/di/container_builder.php b/phpBB/phpbb/di/container_builder.php
index 920861a5fb..a314def0f3 100644
--- a/phpBB/phpbb/di/container_builder.php
+++ b/phpBB/phpbb/di/container_builder.php
@@ -525,7 +525,8 @@ class container_builder
*/
protected function inject_dbal_driver()
{
- if (!empty($this->config_php_file) && !empty($this->config_php_file->get_all()))
+ $config_data = $this->config_php_file->get_all();
+ if (!empty($config_data))
{
if ($this->dbal_connection === null)
{