Fix context order / notice fixed
This commit is contained in:
parent
97a6ea0e79
commit
8eacfbc570
3 changed files with 19 additions and 4 deletions
|
@ -40,6 +40,8 @@ class Card extends BaseFactory
|
|||
$item = Post::selectFirst(['nody'], ['uri-id' => $uriId]);
|
||||
if (!empty($item['body'])) {
|
||||
$data = BBCode::getAttachmentData($item['body']);
|
||||
} else {
|
||||
$data = [];
|
||||
}
|
||||
|
||||
foreach (Post\Media::getByURIId($uriId, [Post\Media::HTML]) as $attached) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue