[Fusionforge-commits] r12056 - branches/Branch_5_1/src/common/include

Thorsten Glaser mirabilos at libremir.placard.fr.eu.org
Fri Jan 21 15:26:56 CET 2011


Author: mirabilos
Date: 2011-01-21 15:26:55 +0100 (Fri, 21 Jan 2011)
New Revision: 12056

Modified:
   branches/Branch_5_1/src/common/include/account.php
Log:
keep min/max values to avoid this re-spinning too often


Modified: branches/Branch_5_1/src/common/include/account.php
===================================================================
--- branches/Branch_5_1/src/common/include/account.php	2011-01-21 14:16:24 UTC (rev 12055)
+++ branches/Branch_5_1/src/common/include/account.php	2011-01-21 14:26:55 UTC (rev 12056)
@@ -133,7 +133,7 @@
  */
 function genchr(){
 	do {	  
-		$num = util_randnum();		  
+		$num = util_randnum(46, 122);
 	} while ( ( $num > 57 && $num < 65 ) || ( $num > 90 && $num < 97 ) );	  
 	$char = chr($num);	  
 	return $char;	  




More information about the Fusionforge-commits mailing list