prevent that contact actions are shown to not logged in users

This commit is contained in:
rabuzarus 2016-05-10 17:11:51 +02:00
parent 2b40687e36
commit 22d567a28e
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ function frio_hovercard_content() {
return;
// 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