mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 11:28:55 +00:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10100] Update rand_seed_last_update before rand_seed in unique_id().
This commit is contained in:
commit
df8b852709
1 changed files with 1 additions and 1 deletions
|
@ -182,8 +182,8 @@ function unique_id($extra = 'c')
|
||||||
|
|
||||||
if ($dss_seeded !== true && ($config['rand_seed_last_update'] < time() - rand(1,10)))
|
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_last_update', time(), true);
|
||||||
|
set_config('rand_seed', $config['rand_seed'], true);
|
||||||
$dss_seeded = true;
|
$dss_seeded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue