git-svn-id: file:///svn/phpbb/trunk@7490 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2007-05-06 19:11:06 +00:00
parent 5deee5b426
commit 919c1aee53
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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']);
}