mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
Merge remote branch 'bantu/ticket/10100' into develop-olympus
* bantu/ticket/10100: [ticket/10100] Update rand_seed_last_update before rand_seed in unique_id().
This commit is contained in:
commit
a3e8f74f72
@ -240,8 +240,8 @@ function unique_id($extra = 'c')
|
||||
|
||||
if ($dss_seeded !== true && ($config['rand_seed_last_update'] < time() - rand(1,10)))
|
||||
{
|
||||
set_config('rand_seed', $config['rand_seed'], true);
|
||||
set_config('rand_seed_last_update', time(), true);
|
||||
set_config('rand_seed', $config['rand_seed'], true);
|
||||
$dss_seeded = true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user