Removed unneeded parameter

This commit is contained in:
Michael 2023-07-16 16:48:24 +00:00
parent 7315048474
commit 7e322c21b3
7 changed files with 9 additions and 12 deletions

View file

@ -640,13 +640,13 @@ class Profile
$istoday = true;
}
$title = BBCode::toPlaintext($rr['summary'], false, true);
$title = BBCode::toPlaintext($rr['summary'], false);
if (strlen($title) > 35) {
$title = substr($title, 0, 32) . '... ';
}
$description = BBCode::toPlaintext($rr['desc'], false, true) . '... ';
$description = BBCode::toPlaintext($rr['desc'], false) . '... ';
if (!$description) {
$description = DI::l10n()->t('[No description]');
}