aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-01-30 17:48:45 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-01-30 17:48:45 +0100
commit3e710fe393ddb7067a1dc28440792d18e2d416d5 (patch)
tree026f71f94aa772c1ac0678fabfa898b8ec2d8e73 /phpBB
parent899173eebdf468a964ad2989f09c898a43eb6c0b (diff)
parente5f2eee167775dd8f7f1920a9d25fcf70919f8dd (diff)
downloadforums-3e710fe393ddb7067a1dc28440792d18e2d416d5.tar
forums-3e710fe393ddb7067a1dc28440792d18e2d416d5.tar.gz
forums-3e710fe393ddb7067a1dc28440792d18e2d416d5.tar.bz2
forums-3e710fe393ddb7067a1dc28440792d18e2d416d5.tar.xz
forums-3e710fe393ddb7067a1dc28440792d18e2d416d5.zip
Merge branch 'prep-release-3.1.3' into develop-ascraeus
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/db/migration/tool/permission.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/migration/tool/permission.php b/phpBB/phpbb/db/migration/tool/permission.php
index 5cfbc5ca00..1a91127d2d 100644
--- a/phpBB/phpbb/db/migration/tool/permission.php
+++ b/phpBB/phpbb/db/migration/tool/permission.php
@@ -537,7 +537,8 @@ class permission implements \phpbb\db\migration\tool\tool_interface
}
$sql = 'DELETE FROM ' . ACL_ROLES_DATA_TABLE . '
- WHERE ' . $this->db->sql_in_set('auth_option_id', $to_remove);
+ WHERE ' . $this->db->sql_in_set('auth_option_id', $to_remove) . '
+ AND role_id = ' . (int) $role_id;
$this->db->sql_query($sql);
break;