mirror of
https://github.com/nextcloud/server.git
synced 2024-07-29 20:15:55 +02:00
Merge pull request #21704 from owncloud/fix-namespace-issue
Fix usage of PHP method within namespace
This commit is contained in:
commit
4d037b76b4
@ -77,7 +77,7 @@ class SecureRandom implements ISecureRandom {
|
||||
$randomString = '';
|
||||
|
||||
while($length > 0) {
|
||||
$randomNumber = random_int(0, $maxCharIndex);
|
||||
$randomNumber = \random_int(0, $maxCharIndex);
|
||||
$randomString .= $characters[$randomNumber];
|
||||
$length--;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user