diff options
author | Igor Wiedler <igor@wiedler.ch> | 2011-03-18 00:06:44 +0100 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2011-03-18 00:06:44 +0100 |
commit | a3e8f74f7237f777c3fbf6ebee21aa87474b7196 (patch) | |
tree | 75feb12a4196ff7944d577f123f291cc111f3327 | |
parent | 784132d7e870e59b9cfa2b7cce4828d817270867 (diff) | |
parent | 48ba841be0abf6b44211826101334d1dafb93dd2 (diff) | |
download | forums-a3e8f74f7237f777c3fbf6ebee21aa87474b7196.tar forums-a3e8f74f7237f777c3fbf6ebee21aa87474b7196.tar.gz forums-a3e8f74f7237f777c3fbf6ebee21aa87474b7196.tar.bz2 forums-a3e8f74f7237f777c3fbf6ebee21aa87474b7196.tar.xz forums-a3e8f74f7237f777c3fbf6ebee21aa87474b7196.zip |
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().
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 2fc7ca6903..198e429afc 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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; } |