aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/docs/CHANGELOG.html1
-rw-r--r--phpBB/includes/acp/auth.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index 30186b8a82..39593090f0 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -224,6 +224,7 @@ p a {
<li>[Fix] Some jabber related bugs (Bug #12989, #11805, #11809)</li>
<li>[Fix] Added UTF-8 support for banning via the MCP (Bug #13013)</li>
<li>[Fix] Properly detect the script name in session::extract_current_page() if PHP_SELF is not defined (Bug #12705) - patch provided by ToonArmy</li>
+ <li>[Fix] Show role mask for global permission class under Permissions->Permission Roles (Bug #13057)</li>
</ul>
diff --git a/phpBB/includes/acp/auth.php b/phpBB/includes/acp/auth.php
index 7d0b00cc25..a7518a287c 100644
--- a/phpBB/includes/acp/auth.php
+++ b/phpBB/includes/acp/auth.php
@@ -591,7 +591,7 @@ class auth_admin extends auth
ORDER BY left_id';
$result = $db->sql_query($sql);
- $forum_names = array();
+ $forum_names = array(0 => '');
while ($row = $db->sql_fetchrow($result))
{
$forum_names[$row['forum_id']] = $row['forum_name'];