mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[task/config-class] Correctly merge cached config with dynamically loaded data.
PHPBB3-9988
This commit is contained in:
@@ -52,7 +52,11 @@ class phpbb_config_db extends phpbb_config
|
||||
FROM ' . $this->table . '
|
||||
WHERE is_dynamic = 1';
|
||||
$result = $this->db->sql_query($sql);
|
||||
$config += $this->db->sql_fetchrowset($result);
|
||||
|
||||
while ($row = $this->db->sql_fetchrow($result))
|
||||
{
|
||||
$config[$row['config_name']] = $row['config_value'];
|
||||
}
|
||||
$this->db->sql_freeresult($result);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user