mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge pull request #6 from nickvergessen/ticket/bantu/12176
[ticket/12176] Add newest_user_colour to config array to ensure it exists * nickvergessen/ticket/bantu/12176: [ticket/12176] Add newest_user_colour to config array to ensure it exists
This commit is contained in:
commit
d3ddf29e59
1 changed files with 7 additions and 0 deletions
|
@ -423,6 +423,13 @@ class phpbb_functional_test_case extends phpbb_test_case
|
|||
$config = array();
|
||||
}
|
||||
|
||||
/*
|
||||
* We need add some configs into the config array here, otherwise
|
||||
* the set_config() function will try to add the value to the database,
|
||||
* because some DBMS return 0 for sql_affectedrows() when a row was found,
|
||||
* but not changed.
|
||||
*/
|
||||
$config['newest_user_colour'] = '';
|
||||
$config['rand_seed'] = '';
|
||||
$config['rand_seed_last_update'] = time() + 600;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue