mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
There might be no global permissions: #13249
git-svn-id: file:///svn/phpbb/trunk@7865 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a694c17791
commit
2b72a95734
2 changed files with 5 additions and 2 deletions
|
@ -205,6 +205,8 @@ p a {
|
||||||
<li>[Fix] Don't allow caching to occur in the update sequence (Bug #13207)</li>
|
<li>[Fix] Don't allow caching to occur in the update sequence (Bug #13207)</li>
|
||||||
<li>[Fix] Enforce the max password length for automatically generated password created by the password sender (Bug #13181)</li>
|
<li>[Fix] Enforce the max password length for automatically generated password created by the password sender (Bug #13181)</li>
|
||||||
<li>[Fix] Handle phpinfo() when expose_php is false (Bug #12777)</li>
|
<li>[Fix] Handle phpinfo() when expose_php is false (Bug #12777)</li>
|
||||||
|
<li>[Fix] Allow managing of forum roles without global users (Bug #13249)</li>
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
|
@ -591,7 +591,8 @@ class auth_admin extends auth
|
||||||
ORDER BY left_id';
|
ORDER BY left_id';
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
$forum_names = array(0 => '');
|
// If the role is used globally, then reflect that
|
||||||
|
$forum_names = (isset($hold_ary[0])) ? array(0 => '') : array();
|
||||||
while ($row = $db->sql_fetchrow($result))
|
while ($row = $db->sql_fetchrow($result))
|
||||||
{
|
{
|
||||||
$forum_names[$row['forum_id']] = $row['forum_name'];
|
$forum_names[$row['forum_id']] = $row['forum_name'];
|
||||||
|
|
Loading…
Add table
Reference in a new issue