From 73dd8c17de7c8ec78687b851d936d74620c5fac7 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 14 Jan 2016 09:24:21 +0100 Subject: [PATCH] Fix usage of PHP method within namespace * introduced wiht 045ea4eb --- lib/private/security/securerandom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/security/securerandom.php b/lib/private/security/securerandom.php index 5cc69b9215..45cb3f17ee 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--; }