Replace last instance of local_user() used to guess authentication status in Module/Contact/Hovercard

2022.09-rc
Hypolite Petovan 2019-10-17 09:32:46 -04:00
rodzic e3e2b0e6d0
commit 50a2e7001e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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 = [];