]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact/Hovercard.php
Merge pull request #7806 from tobiasd/20191102-csvexport
[friendica.git] / src / Module / Contact / Hovercard.php
index d5cdb1e95cbe386455e0adbd7e68089ac046337b..20290e0acae8c5ca0ff558b19162a88fb71d8452 100644 (file)
@@ -71,7 +71,7 @@ class Hovercard extends BaseModule
                }
 
                // Get the photo_menu - the menu if possible contact actions
-               if (local_user()) {
+               if (Session::isAuthenticated()) {
                        $actions = Contact::photoMenu($contact);
                } else {
                        $actions = [];