From: Michael Date: Sat, 27 Jun 2020 15:10:06 +0000 (+0000) Subject: Fix notice "Undefined index: author-network" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=64dc3519a48e11f39a0c0beccb5af057aa756c46;p=friendica.git Fix notice "Undefined index: author-network" --- diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index 8920152521..8bcc0d3e35 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -166,7 +166,7 @@ class Notifier if (!empty($target_item) && !empty($items)) { $parent = $items[0]; - $fields = ['network', 'author-id', 'author-link', 'owner-id']; + $fields = ['network', 'author-id', 'author-link', 'author-network', 'owner-id']; $condition = ['uri' => $target_item["thr-parent"], 'uid' => $target_item["uid"]]; $thr_parent = Item::selectFirst($fields, $condition); if (empty($thr_parent)) {