From 6f4c1b1a22fc280fdc8a202c977eac1c5acee37a Mon Sep 17 00:00:00 2001 From: Graham Eames Date: Fri, 21 Apr 2006 20:42:10 +0000 Subject: Porting the random number generator code over Fingers crossed that this doesn't break anything.... ;-) git-svn-id: file:///svn/phpbb/trunk@5813 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/posting.php') diff --git a/phpBB/posting.php b/phpBB/posting.php index 01616c8e85..9c6fd3acff 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1105,7 +1105,7 @@ if ($config['enable_post_confirm'] && !$user->data['is_registered'] && ($mode == // Generate code $code = gen_rand_string(mt_rand(5, 8)); - $confirm_id = md5(unique_id(0, $user->ip)); + $confirm_id = md5(unique_id($user->ip)); $sql = 'INSERT INTO ' . CONFIRM_TABLE . ' ' . $db->sql_build_array('INSERT', array( 'confirm_id' => (string) $confirm_id, -- cgit v1.2.1