diff options
author | Nils Adermann <naderman@naderman.de> | 2005-12-30 11:09:16 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2005-12-30 11:09:16 +0000 |
commit | c4bf44e579178f8628a8d57265fcafc58f59fb22 (patch) | |
tree | 431db8610dfccc3203b03ce1086e98c6f0d1203b /phpBB/includes/functions.php | |
parent | a63687d13f5553913f09706fa9f2c84b4de235fd (diff) | |
download | forums-c4bf44e579178f8628a8d57265fcafc58f59fb22.tar forums-c4bf44e579178f8628a8d57265fcafc58f59fb22.tar.gz forums-c4bf44e579178f8628a8d57265fcafc58f59fb22.tar.bz2 forums-c4bf44e579178f8628a8d57265fcafc58f59fb22.tar.xz forums-c4bf44e579178f8628a8d57265fcafc58f59fb22.zip |
- mt_srand in unique_id working properly (swapped usec and sec)
- mt_srand in digest_md5 removed
git-svn-id: file:///svn/phpbb/trunk@5403 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-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 7bc9580c33..64fda22ac8 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -139,7 +139,7 @@ function gen_rand_string($num_chars) */ function unique_id($extra = 0) { - list($sec, $usec) = explode(' ', microtime()); + list($usec, $sec) = explode(' ', microtime()); mt_srand((float) $extra + (float) $sec + ((float) $usec * 100000)); return uniqid(mt_rand(), true); } |