mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Fix several warnings and errors
This commit is contained in:
parent
d6ff89d7b4
commit
dc065eed42
3 changed files with 8 additions and 4 deletions
|
@ -152,6 +152,9 @@ class Notifier
|
|||
$fields = ['network', 'author-id', 'author-link', 'owner-id'];
|
||||
$condition = ['uri' => $target_item["thr-parent"], 'uid' => $target_item["uid"]];
|
||||
$thr_parent = Item::selectFirst($fields, $condition);
|
||||
if (empty($thr_parent)) {
|
||||
$thr_parent = $parent;
|
||||
}
|
||||
|
||||
Logger::log('GUID: ' . $target_item["guid"] . ': Parent is ' . $parent['network'] . '. Thread parent is ' . $thr_parent['network'], Logger::DEBUG);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue