From f5433b25d86bf43747c3ed2e2d4f56b0237ef8c3 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 30 May 2023 06:06:49 +0000 Subject: [PATCH] Pass the "uid" when calling the "follow" hook --- src/Model/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 78150f1ff..19bb97761 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -2962,7 +2962,7 @@ class Contact return $result; } - $arr = ['url' => $url, 'contact' => []]; + $arr = ['url' => $url, 'uid' => $uid, 'contact' => []]; Hook::callAll('follow', $arr);