Fixes notice "Undefined index: text"
This commit is contained in:
parent
1898c0c351
commit
a42217eae4
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class PageInfo
|
|||
}
|
||||
}
|
||||
|
||||
$text .= ']' . $data['text'] . '[/attachment]';
|
||||
$text .= ']' . $data['text'] ?? '' . '[/attachment]';
|
||||
|
||||
$hashtags = '';
|
||||
if (!empty($data['keywords'])) {
|
||||
|
|
Loading…
Reference in a new issue