diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-01-03 21:53:14 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-01-03 21:53:14 +0100 |
commit | ff411ee81bc12574138577a5bb4b0cbc9004b00e (patch) | |
tree | f9af1811ed87b3fe1031df94b4a7e0560031712d /phpBB/phpbb/di | |
parent | 14fd750b087c7c9e31f9701bb08ced08db964d12 (diff) | |
download | forums-ff411ee81bc12574138577a5bb4b0cbc9004b00e.tar forums-ff411ee81bc12574138577a5bb4b0cbc9004b00e.tar.gz forums-ff411ee81bc12574138577a5bb4b0cbc9004b00e.tar.bz2 forums-ff411ee81bc12574138577a5bb4b0cbc9004b00e.tar.xz forums-ff411ee81bc12574138577a5bb4b0cbc9004b00e.zip |
[ticket/14957] Do not use method return in write context
Fix for PHP 5.3.x compatibility.
PHPBB3-14957
Diffstat (limited to 'phpBB/phpbb/di')
-rw-r--r-- | phpBB/phpbb/di/container_builder.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/di/container_builder.php b/phpBB/phpbb/di/container_builder.php index 9801b817d6..5f3aa685bf 100644 --- a/phpBB/phpbb/di/container_builder.php +++ b/phpBB/phpbb/di/container_builder.php @@ -309,7 +309,8 @@ class container_builder */ protected function inject_dbal_driver() { - if (!empty($this->config_php_file->get_all())) + $config_data = $this->config_php_file->get_all(); + if (!empty($config_data)) { $this->container->set('dbal.conn.driver', $this->get_dbal_connection()); } |