Fixes notice "Undefined index: text"

This commit is contained in:
Michael 2020-09-20 07:45:19 +00:00
parent 1898c0c351
commit a42217eae4
1 changed files with 1 additions and 1 deletions

View File

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