From 50a2e7001edef41e66f18dd3cfe979103ee004b0 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 17 Oct 2019 09:32:46 -0400 Subject: [PATCH] Replace last instance of local_user() used to guess authentication status in Module/Contact/Hovercard --- src/Module/Contact/Hovercard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Contact/Hovercard.php b/src/Module/Contact/Hovercard.php index d5cdb1e95c..20290e0aca 100644 --- a/src/Module/Contact/Hovercard.php +++ b/src/Module/Contact/Hovercard.php @@ -71,7 +71,7 @@ class Hovercard extends BaseModule } // Get the photo_menu - the menu if possible contact actions - if (local_user()) { + if (Session::isAuthenticated()) { $actions = Contact::photoMenu($contact); } else { $actions = []; -- 2.39.5