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