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
Signed by: roland
GPG key ID: C82EDE5DDFA0BA77

View file

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