From 5940316125c1672b72eb08186e6c43f5a91e71ef Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 9 Apr 2012 13:46:31 +0200 Subject: random_id() -> random_alphanum(); allow single argument Signed-off-by: Florian Pritz --- application/controllers/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/controllers/user.php') diff --git a/application/controllers/user.php b/application/controllers/user.php index 4fffbef9b..5795db158 100644 --- a/application/controllers/user.php +++ b/application/controllers/user.php @@ -77,7 +77,7 @@ class User extends CI_Controller { return; } - $key = random_id(12, 16); + $key = random_alphanum(12, 16); $this->db->query(" INSERT INTO invitations -- cgit v1.2.3-24-g4f1b