aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/di/container_builder.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-01-03 22:22:46 +0100
committerMarc Alexander <admin@m-a-styles.de>2017-01-03 22:22:46 +0100
commit9f149e345bb3642a406eeeb3f9c9771809201e89 (patch)
treea6d59d13bbcc3aff45a57c7312a1416f928f666a /phpBB/phpbb/di/container_builder.php
parent072bf470fc252ae5942956df896765c3b0e53e66 (diff)
parentff411ee81bc12574138577a5bb4b0cbc9004b00e (diff)
downloadforums-9f149e345bb3642a406eeeb3f9c9771809201e89.tar
forums-9f149e345bb3642a406eeeb3f9c9771809201e89.tar.gz
forums-9f149e345bb3642a406eeeb3f9c9771809201e89.tar.bz2
forums-9f149e345bb3642a406eeeb3f9c9771809201e89.tar.xz
forums-9f149e345bb3642a406eeeb3f9c9771809201e89.zip
Merge branch 'ticket/14957' into ticket/14957-rhea
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)
{