Merge pull request #21704 from owncloud/fix-namespace-issue

Fix usage of PHP method within namespace
This commit is contained in:
Thomas Müller 2016-01-14 10:25:34 +01:00
commit 4d037b76b4
1 changed files with 1 additions and 1 deletions

View File

@ -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--;
}