mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
-forgot list items
git-svn-id: file:///svn/phpbb/trunk@6325 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -770,10 +770,14 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||
$row['post_subject'] = censor_text($row['post_subject']);
|
||||
$message = $row['post_text'];
|
||||
|
||||
|
||||
if (($return_chars != -1) && (strlen($message) >= $return_chars + 3))
|
||||
{
|
||||
$message = censor_text($message);
|
||||
|
||||
// make list items visible as such
|
||||
$message = str_replace('[*:' . $row['bbcode_uid'] . ']', '⋅ ', $message);
|
||||
|
||||
// do not display raw bbcode
|
||||
strip_bbcode($message, $row['bbcode_uid']);
|
||||
|
||||
// now find context for the searched words
|
||||
|
Reference in New Issue
Block a user