mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@7490 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5deee5b426
commit
919c1aee53
2 changed files with 2 additions and 2 deletions
|
@ -203,7 +203,7 @@ function mcp_topic_view($id, $mode, $action)
|
|||
{
|
||||
$to_topic_info = $to_topic_info[$to_topic_id];
|
||||
|
||||
if (!$to_topic_info['enable_icons'])
|
||||
if (!$to_topic_info['enable_icons'] || $auth->acl_get('!f_icons', $forum_id))
|
||||
{
|
||||
$s_topic_icons = false;
|
||||
}
|
||||
|
|
|
@ -1110,7 +1110,7 @@ if ($mode == 'post' || ($mode == 'edit' && $post_id == $post_data['topic_first_p
|
|||
}
|
||||
|
||||
$s_topic_icons = false;
|
||||
if ($post_data['enable_icons'])
|
||||
if ($post_data['enable_icons'] && $auth->acl_get('f_icons', $forum_id))
|
||||
{
|
||||
$s_topic_icons = posting_gen_topic_icons($mode, $post_data['icon_id']);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue