mirror of
https://github.com/friendica/friendica
synced 2025-04-29 14:24:22 +02:00
Issue 13953: Fix warning during postupdate
This commit is contained in:
parent
2d4f28dcde
commit
5df1ead001
2 changed files with 4 additions and 1 deletions
|
@ -48,6 +48,9 @@ class SearchIndex
|
|||
}
|
||||
|
||||
$item = Post::selectFirstPost(['created', 'owner-id', 'private', 'language', 'network', 'title', 'content-warning', 'body', 'quote-uri-id'], ['uri-id' => $uri_id]);
|
||||
if (empty($item)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$search = [
|
||||
'uri-id' => $uri_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue