aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Like.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-12-20 11:06:52 -0800
committerzotlabs <mike@macgirvin.com>2018-12-20 11:06:52 -0800
commit389b4beba47823ebc0549ee8d7c0549c27b73b7a (patch)
tree667825f93478a14d7dbc29e8cbf27a29000ad5b7 /Zotlabs/Module/Like.php
parent7a55dd512a49a8a3c3e7ad1cfec2e42f9825afd1 (diff)
downloadvolse-hubzilla-389b4beba47823ebc0549ee8d7c0549c27b73b7a.tar.gz
volse-hubzilla-389b4beba47823ebc0549ee8d7c0549c27b73b7a.tar.bz2
volse-hubzilla-389b4beba47823ebc0549ee8d7c0549c27b73b7a.zip
like permission issue
Diffstat (limited to 'Zotlabs/Module/Like.php')
-rw-r--r--Zotlabs/Module/Like.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php
index d19154eb4..142d3b499 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -52,7 +52,7 @@ class Like extends \Zotlabs\Web\Controller {
$observer = \App::get_observer();
$interactive = $_REQUEST['interactive'];
- if($interactive) {
+ if((! $observer) || ($interactive)) {
$o .= '<h1>' . t('Like/Dislike') . '</h1>';
$o .= EOL . EOL;