mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
git-svn-id: file:///svn/phpbb/trunk@7490 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -203,7 +203,7 @@ function mcp_topic_view($id, $mode, $action)
|
|||||||
{
|
{
|
||||||
$to_topic_info = $to_topic_info[$to_topic_id];
|
$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;
|
$s_topic_icons = false;
|
||||||
}
|
}
|
||||||
|
@@ -1110,7 +1110,7 @@ if ($mode == 'post' || ($mode == 'edit' && $post_id == $post_data['topic_first_p
|
|||||||
}
|
}
|
||||||
|
|
||||||
$s_topic_icons = false;
|
$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']);
|
$s_topic_icons = posting_gen_topic_icons($mode, $post_data['icon_id']);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user