mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02: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:
@@ -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());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user