Update src/Model/Item.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
88e339a43d
commit
d8792c9c11
1 changed files with 1 additions and 1 deletions
|
@ -1270,7 +1270,7 @@ class Item
|
||||||
Post\ThreadUser::insert($item['uri-id'], $item['uid'], $item);
|
Post\ThreadUser::insert($item['uri-id'], $item['uid'], $item);
|
||||||
}
|
}
|
||||||
|
|
||||||
Logger::info('created item', ['post-id' => $post_user_id, 'uid' => $item['uid'], 'network' => $item['network'], 'uri-id' => $item['uri-id'], 'guid' => $item['guid']]);
|
Logger::notice('created item', ['post-id' => $post_user_id, 'uid' => $item['uid'], 'network' => $item['network'], 'uri-id' => $item['uri-id'], 'guid' => $item['guid']]);
|
||||||
|
|
||||||
$posted_item = Post::selectFirst(self::ITEM_FIELDLIST, ['post-user-id' => $post_user_id]);
|
$posted_item = Post::selectFirst(self::ITEM_FIELDLIST, ['post-user-id' => $post_user_id]);
|
||||||
if (!DBA::isResult($posted_item)) {
|
if (!DBA::isResult($posted_item)) {
|
||||||
|
|
Loading…
Reference in a new issue