From 64dc3519a48e11f39a0c0beccb5af057aa756c46 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 27 Jun 2020 15:10:06 +0000 Subject: [PATCH] Fix notice "Undefined index: author-network" --- src/Worker/Notifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {