Ops, syntax errors get unnoticed with a simple editor. :-(
This commit is contained in:
parent
624e4c192c
commit
e8fee5644b
|
@ -616,8 +616,8 @@ class Processor
|
||||||
$content = $activity['content'];
|
$content = $activity['content'];
|
||||||
} else {
|
} else {
|
||||||
// By default assume "text/html"
|
// By default assume "text/html"
|
||||||
$item['title'] = HTML::toBBCode($activity['name'] ??: '');
|
$item['title'] = HTML::toBBCode($activity['name'] ?? '');
|
||||||
$content = HTML::toBBCode($activity['content'] ?? : '');
|
$content = HTML::toBBCode($activity['content'] ?? '');
|
||||||
}
|
}
|
||||||
|
|
||||||
$item['title'] = trim(BBCode::toPlaintext($item['title']));
|
$item['title'] = trim(BBCode::toPlaintext($item['title']));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user