mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/14957] Do not use method return in write context
Fix for PHP 5.3.x compatibility. PHPBB3-14957
This commit is contained in:
parent
14fd750b08
commit
ff411ee81b
1 changed files with 2 additions and 1 deletions
|
@ -309,7 +309,8 @@ class container_builder
|
||||||
*/
|
*/
|
||||||
protected function inject_dbal_driver()
|
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());
|
$this->container->set('dbal.conn.driver', $this->get_dbal_connection());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue