Fix double line break in portal announcements.

This commit is contained in:
2018-05-20 16:13:22 +02:00
parent 12acc2191d
commit a358b3b89e

View File

@@ -296,7 +296,7 @@ class fetch_posts
$posts[$i]['bbcode_uid'] = $row['bbcode_uid'];
// Format message
$message = $this->format_message($row, $text_length, $posts[$i]['striped']);
$message = $row['post_text'];
$row['bbcode_options'] = (int) $this->get_setting_based_data($row['enable_bbcode'], OPTION_FLAG_BBCODE, 0)
+ (int) $this->get_setting_based_data($row['enable_smilies'], OPTION_FLAG_SMILIES, 0)