projects
/
friendica-addons.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b40687
)
prevent that contact actions are shown to not logged in users
author
rabuzarus
<>
Tue, 10 May 2016 15:11:51 +0000
(17:11 +0200)
committer
rabuzarus
<>
Tue, 10 May 2016 15:11:51 +0000
(17:11 +0200)
frio_hovercard.php
patch
|
blob
|
history
diff --git
a/frio_hovercard.php
b/frio_hovercard.php
index 5daf04289e88d93c197636be26d5ff524b06e93f..b565e1acb3155f17471b8f4dd1b9b49d82134aa6 100644
(file)
--- 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