From 22d567a28e1ac82223b520d43af916b50cf04678 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Tue, 10 May 2016 17:11:51 +0200 Subject: [PATCH] prevent that contact actions are shown to not logged in users --- frio_hovercard.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frio_hovercard.php b/frio_hovercard.php index 5daf0428..b565e1ac 100644 --- a/frio_hovercard.php +++ b/frio_hovercard.php @@ -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