aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-04-21 20:42:10 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-04-21 20:42:10 +0000
commit6f4c1b1a22fc280fdc8a202c977eac1c5acee37a (patch)
tree176c87abd9fd54ed7ea9b13eaf8e119ee0a77586 /phpBB/posting.php
parent10e8b6130da5babaf0f44535d8def064af544cd2 (diff)
downloadforums-6f4c1b1a22fc280fdc8a202c977eac1c5acee37a.tar
forums-6f4c1b1a22fc280fdc8a202c977eac1c5acee37a.tar.gz
forums-6f4c1b1a22fc280fdc8a202c977eac1c5acee37a.tar.bz2
forums-6f4c1b1a22fc280fdc8a202c977eac1c5acee37a.tar.xz
forums-6f4c1b1a22fc280fdc8a202c977eac1c5acee37a.zip
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
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
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,