mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +02:00
Time to roll the dice and see what number comes up :)
[Replace calls to rand/mt_rand in certain places with an alternative method] git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5589 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -235,7 +235,7 @@ function make_bbcode_uid()
|
||||
{
|
||||
// Unique ID for this message..
|
||||
|
||||
$uid = md5(mt_rand());
|
||||
$uid = dss_rand();
|
||||
$uid = substr($uid, 0, BBCODE_UID_LEN);
|
||||
|
||||
return $uid;
|
||||
|
Reference in New Issue
Block a user