Browse Source

Fixes notice "Undefined index: text"

tags/2020.09
Michael 1 month ago
parent
commit
a42217eae4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Content/PageInfo.php

+ 1
- 1
src/Content/PageInfo.php View File

@@ -163,7 +163,7 @@ class PageInfo
}
}

$text .= ']' . $data['text'] . '[/attachment]';
$text .= ']' . $data['text'] ?? '' . '[/attachment]';

$hashtags = '';
if (!empty($data['keywords'])) {


Loading…
Cancel
Save