1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/16924] Do not double escape values inserted into config table

PHPBB3-16924
This commit is contained in:
Marc Alexander
2021-12-02 21:01:45 +01:00
parent 03b36d46c3
commit 8cc6075d92
2 changed files with 4 additions and 4 deletions

View File

@@ -94,7 +94,7 @@ class phpbb_config_db_test extends phpbb_database_test_case
// re-read config and populate cache
$config2 = new \phpbb\config\db($this->db, $this->cache, 'phpbb_config');
$this->cache->checkVar($this, 'config', array('foo' => '23', 'foobar' => '5', 'foobar_json' => $json_value));
$this->cache->checkVar($this, 'config', ['foo' => '23', 'foobar_json' => $json_value]);
}
public function test_set_new_uncached()