prevent that contact actions are shown to not logged in users
parent
2b40687e36
commit
22d567a28e
|
@ -65,7 +65,8 @@ function frio_hovercard_content() {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Get the photo_menu - the menu if possible contact actions
|
// Get the photo_menu - the menu if possible contact actions
|
||||||
$actions = contact_photo_menu($contact);
|
if(local_user())
|
||||||
|
$actions = contact_photo_menu($contact);
|
||||||
|
|
||||||
|
|
||||||
// Move the contact data to the profile array so we can deliver it to
|
// Move the contact data to the profile array so we can deliver it to
|
||||||
|
|
Loading…
Reference in New Issue