prevent that contact actions are shown to not logged in users
authorrabuzarus <>
Tue, 10 May 2016 15:11:51 +0000 (17:11 +0200)
committerrabuzarus <>
Tue, 10 May 2016 15:11:51 +0000 (17:11 +0200)
frio_hovercard.php

index 5daf04289e88d93c197636be26d5ff524b06e93f..b565e1acb3155f17471b8f4dd1b9b49d82134aa6 100644 (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