]> git.mxchange.org Git - friendica.git/commitdiff
Fix notice "Undefined index: author-network"
authorMichael <heluecht@pirati.ca>
Sat, 27 Jun 2020 15:10:06 +0000 (15:10 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 27 Jun 2020 15:10:06 +0000 (15:10 +0000)
src/Worker/Notifier.php

index 8920152521efd28f0f41c78cf80f38e882e49584..8bcc0d3e35ad98f9db406f8d24dd435354c121bd 100644 (file)
@@ -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)) {