mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
- replaced array_rand($array) with mt_rand(0, sizeof($array) - 1) as array_rand did not take my seed git-svn-id: file:///svn/phpbb/trunk@6705 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -163,6 +163,7 @@ CREATE TABLE phpbb_confirm (
|
||||
session_id char(32) DEFAULT '' NOT NULL,
|
||||
confirm_type tinyint(3) DEFAULT '0' NOT NULL,
|
||||
code varchar(8) DEFAULT '' NOT NULL,
|
||||
seed int(10) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (session_id, confirm_id),
|
||||
KEY confirm_type (confirm_type)
|
||||
);
|
||||
|
Reference in New Issue
Block a user