mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Check for display set when outputting icons
git-svn-id: file:///svn/phpbb/trunk@3396 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
043d45c357
commit
ba6a3c0139
1 changed files with 10 additions and 7 deletions
|
@ -597,6 +597,8 @@ if (!empty($enable_icons))
|
|||
$s_topic_icons = true;
|
||||
|
||||
foreach ($icons as $id => $data)
|
||||
{
|
||||
if ($data['display'])
|
||||
{
|
||||
$template->assign_block_vars('topic_icon', array(
|
||||
'ICON_ID' => $id,
|
||||
|
@ -608,6 +610,7 @@ if (!empty($enable_icons))
|
|||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Topic type selection ... only for first post in topic?
|
||||
|
|
Loading…
Add table
Reference in a new issue