From: rabuzarus <> Date: Tue, 10 May 2016 15:11:51 +0000 (+0200) Subject: prevent that contact actions are shown to not logged in users X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=22d567a28e1ac82223b520d43af916b50cf04678;p=friendica-addons.git prevent that contact actions are shown to not logged in users --- 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