Fixes notice "Undefined index: text"

This commit is contained in:
Michael 2020-09-20 07:45:19 +00:00
parent 1898c0c351
commit a42217eae4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni

Vedi File

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