diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-14 10:25:34 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-14 10:25:34 +0100 |
commit | 4d037b76b4149ee4a5d2132110db8c31ec50c303 (patch) | |
tree | bc617f37a6cfdaf2f7de3eb34061f5ef36164b40 /lib | |
parent | 03c08bea9d80038305a9ffedeaef606774042bc4 (diff) | |
parent | 73dd8c17de7c8ec78687b851d936d74620c5fac7 (diff) | |
download | nextcloud-server-4d037b76b4149ee4a5d2132110db8c31ec50c303.tar.gz nextcloud-server-4d037b76b4149ee4a5d2132110db8c31ec50c303.zip |
Merge pull request #21704 from owncloud/fix-namespace-issue
Fix usage of PHP method within namespace
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/security/securerandom.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/security/securerandom.php b/lib/private/security/securerandom.php index 5cc69b92156..45cb3f17ee4 100644 --- a/lib/private/security/securerandom.php +++ b/lib/private/security/securerandom.php @@ -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--; } |