New post class in the rest of the classes

This commit is contained in:
Michael 2021-01-16 04:16:09 +00:00
parent 3ab4e20fe6
commit 2fa692bcce
15 changed files with 33 additions and 20 deletions

View file

@ -40,7 +40,7 @@ class Source extends BaseAdmin
$item_id = '';
$terms = [];
if (!empty($guid)) {
$item = Model\Item::selectFirst(['id', 'uri-id', 'guid', 'uri'], ['guid' => $guid]);
$item = Model\Post::selectFirst(['id', 'uri-id', 'guid', 'uri'], ['guid' => $guid]);
if ($item) {
$conversation = Model\Conversation::getByItemUri($item['uri']);