Fixes notice "Undefined index: text"

This commit is contained in:
Michael 2020-09-20 07:45:19 +00:00
parent 1898c0c351
commit a42217eae4

View file

@ -163,7 +163,7 @@ class PageInfo
}
}
$text .= ']' . $data['text'] . '[/attachment]';
$text .= ']' . $data['text'] ?? '' . '[/attachment]';
$hashtags = '';
if (!empty($data['keywords'])) {