mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
some fixes today
- most important change is the consolidation of the display attachment functions; merging them together to have one function we need to call. git-svn-id: file:///svn/phpbb/trunk@6803 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -822,9 +822,9 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||
$bbcode->bbcode_second_pass($message, $row['bbcode_uid'], $row['bbcode_bitfield']);
|
||||
}
|
||||
|
||||
if (isset($attachments[$row['post_id']]) && sizeof($attachments[$row['post_id']]))
|
||||
if (!empty($attachments[$row['post_id']]))
|
||||
{
|
||||
parse_inline_attachments($message, $attachments[$row['post_id']], $update_count, $forum_id);
|
||||
parse_attachments($forum_id, $message, $attachments[$row['post_id']], $update_count);
|
||||
|
||||
// we only display inline attachments
|
||||
unset($attachments[$row['post_id']]);
|
||||
|
Reference in New Issue
Block a user