mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Incorrect acl parameters
git-svn-id: file:///svn/phpbb/trunk@3397 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ba6a3c0139
commit
4d761a22d8
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ while ($row = $db->sql_fetchrow($result))
|
||||||
|
|
||||||
if (!$row['user_allow_viewonline'])
|
if (!$row['user_allow_viewonline'])
|
||||||
{
|
{
|
||||||
$view_online = ($auth->acl_get('f_viewonline', 'a_')) ? true : false;
|
$view_online = ($auth->acl_gets('u_viewonline', 'a_')) ? true : false;
|
||||||
$hidden_users++;
|
$hidden_users++;
|
||||||
|
|
||||||
$username = '<i>' . $username . '</i>';
|
$username = '<i>' . $username . '</i>';
|
||||||
|
@ -126,7 +126,7 @@ while ($row = $db->sql_fetchrow($result))
|
||||||
preg_match('/f=([0-9]+)/', $row['session_page'], $forum_id);
|
preg_match('/f=([0-9]+)/', $row['session_page'], $forum_id);
|
||||||
$forum_id = $forum_id[1];
|
$forum_id = $forum_id[1];
|
||||||
|
|
||||||
if ($auth->acl_gets('f_list', 'f_viewonline', 'a_', $forum_id))
|
if ($auth->acl_gets('f_list', 'a_', $forum_id))
|
||||||
{
|
{
|
||||||
$location = '';
|
$location = '';
|
||||||
switch ($on_page[1])
|
switch ($on_page[1])
|
||||||
|
|
Loading…
Add table
Reference in a new issue