Ops, syntax errors get unnoticed with a simple editor. :-(

This commit is contained in:
Roland Häder 2022-06-16 17:03:25 +02:00
parent 624e4c192c
commit e8fee5644b
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77

View file

@ -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']));