From 530a93794fcd7c436f1be5f3f674c2de3983d515 Mon Sep 17 00:00:00 2001 From: Art4 Date: Wed, 25 Dec 2024 18:37:13 +0000 Subject: [PATCH] Fix PHPStan error --- src/Model/APContact.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Model/APContact.php b/src/Model/APContact.php index 9042f3e319..bfb80686b4 100644 --- a/src/Model/APContact.php +++ b/src/Model/APContact.php @@ -164,6 +164,8 @@ class APContact DI::cache()->set($cachekey, System::callstack(20), Duration::FIVE_MINUTES); } + $local_owner = []; + if (DI::baseUrl()->isLocalUrl($url) && ($local_uid = User::getIdForURL($url))) { try { $data = Transmitter::getProfile($local_uid);