mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
Some changes to deal with a potential problem the new random number generator code has with mysql5
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5777 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -168,7 +168,7 @@ function dss_rand()
|
||||
$dss_seeded = true;
|
||||
}
|
||||
|
||||
return substr($val, 16);
|
||||
return substr($val, 4, 16);
|
||||
}
|
||||
//
|
||||
// Get Userdata, $user can be username or user_id. If force_str is true, the username will be forced.
|
||||
|
Reference in New Issue
Block a user