Issue 13953: Fix warning during postupdate
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user