mirror of
https://github.com/friendica/friendica
synced 2024-11-19 15:03:40 +00:00
Ops, syntax errors get unnoticed with a simple editor. :-(
This commit is contained in:
parent
624e4c192c
commit
e8fee5644b
1 changed files with 2 additions and 2 deletions
|
@ -616,8 +616,8 @@ class Processor
|
|||
$content = $activity['content'];
|
||||
} else {
|
||||
// By default assume "text/html"
|
||||
$item['title'] = HTML::toBBCode($activity['name'] ??: '');
|
||||
$content = HTML::toBBCode($activity['content'] ?? : '');
|
||||
$item['title'] = HTML::toBBCode($activity['name'] ?? '');
|
||||
$content = HTML::toBBCode($activity['content'] ?? '');
|
||||
}
|
||||
|
||||
$item['title'] = trim(BBCode::toPlaintext($item['title']));
|
||||
|
|
Loading…
Reference in a new issue