prevent that contact actions are shown to not logged in users

pull/352/head^2
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,6 +65,7 @@ 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
if(local_user())
$actions = contact_photo_menu($contact); $actions = contact_photo_menu($contact);