Bläddra i källkod

Remove the seed for srand it is done automatically

FusionPBX 2 år sedan
förälder
incheckning
ef0278c5a6
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      resources/classes/captcha.php

+ 1 - 1
resources/classes/captcha.php

@@ -87,7 +87,7 @@ class captcha {
 		//exit;
 
 		// Randomize the fonts
-		srand(uuid());
+		srand();
 		$random = (rand()%count($fonts));
 		//$font = $font_path.'/'.$fonts[$random];
 		$font = $fonts[$random];