mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
Fix duplicate creation of acl options in acl_add_options() under certain conditions. (Bug #38385, #40225)
Add unique key to ACL options table to prevent duplicate permission options. (Bug #41835) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9400 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -49,7 +49,7 @@ CREATE TABLE phpbb_acl_options (
|
||||
is_local tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
founder_only tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (auth_option_id),
|
||||
KEY auth_option (auth_option)
|
||||
UNIQUE auth_option (auth_option)
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user