mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 15:17:16 +01:00
[ticket/12176] Add newest_user_colour to config array to ensure it exists
PHPBB3-12176
This commit is contained in:
parent
8960e6d777
commit
ca92ed918a
@ -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…
x
Reference in New Issue
Block a user