mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 01:25:21 +02:00
Fixes:
"Argument 1 passed to Friendica\Content\Text\BBCode::toPlaintext() must be of the type string, null given, called in /var/www/.../htdocs/mod/display.php on line 305"
This commit is contained in:
parent
e6ed8f6315
commit
ba33c95e97
2 changed files with 1 additions and 3 deletions
|
@ -302,7 +302,7 @@ function display_content(App $a, $update = false, $update_uid = 0)
|
|||
|
||||
// Preparing the meta header
|
||||
$description = trim(BBCode::toPlaintext($item['body']));
|
||||
$title = trim(BBCode::toPlaintext($item['title']));
|
||||
$title = trim(BBCode::toPlaintext($item['title'] ?? ''));
|
||||
$author_name = $item['author-name'];
|
||||
|
||||
$image = DI::baseUrl()->remove($item['author-avatar']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue