From 4a57f5d445a58f7b8fb1b3fac6d4408202c66c44 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 21 Jan 2006 23:30:59 +0000 Subject: [PATCH] We need at least 1 integer in random keys (for good measure) --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 32543ee..f242dbf 100644 --- a/functions.php +++ b/functions.php @@ -420,7 +420,7 @@ class Functions } // Number of ints in our salt - $intcount = rand(0, intval($length / 2)); + $intcount = rand(1, intval($length / 2)); // Number of chars $charcount = $length - $intcount; -- 2.43.5