mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
-forgot list items
git-svn-id: file:///svn/phpbb/trunk@6325 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
64dc59ac82
commit
b4c095cb3e
1 changed files with 5 additions and 1 deletions
|
@ -770,10 +770,14 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||||
$row['post_subject'] = censor_text($row['post_subject']);
|
$row['post_subject'] = censor_text($row['post_subject']);
|
||||||
$message = $row['post_text'];
|
$message = $row['post_text'];
|
||||||
|
|
||||||
|
|
||||||
if (($return_chars != -1) && (strlen($message) >= $return_chars + 3))
|
if (($return_chars != -1) && (strlen($message) >= $return_chars + 3))
|
||||||
{
|
{
|
||||||
$message = censor_text($message);
|
$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']);
|
strip_bbcode($message, $row['bbcode_uid']);
|
||||||
|
|
||||||
// now find context for the searched words
|
// now find context for the searched words
|
||||||
|
|
Loading…
Add table
Reference in a new issue