]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix usage of PHP method within namespace
authorMorris Jobke <hey@morrisjobke.de>
Thu, 14 Jan 2016 08:24:21 +0000 (09:24 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 14 Jan 2016 08:24:21 +0000 (09:24 +0100)
* introduced wiht 045ea4eb

lib/private/security/securerandom.php

index 5cc69b92156f4059e049bc651005b3d1cd480777..45cb3f17ee4f5e2807e9ce768c89f4eacfce0956 100644 (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--;
                }