aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Like.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-12-20 19:06:52 +0000
committerMario <mario@mariovavti.com>2018-12-21 21:44:33 +0100
commit5f5746a2f68cf5fee500478e3049c1a810b71915 (patch)
tree2086e95f25807aecec95b0cddafc848f866a7a9c /Zotlabs/Module/Like.php
parentd0ee6d1ad23bb265b5f2b17300fd8d7228701cfa (diff)
downloadvolse-hubzilla-5f5746a2f68cf5fee500478e3049c1a810b71915.tar.gz
volse-hubzilla-5f5746a2f68cf5fee500478e3049c1a810b71915.tar.bz2
volse-hubzilla-5f5746a2f68cf5fee500478e3049c1a810b71915.zip
like permission issue
(cherry picked from commit 389b4beba47823ebc0549ee8d7c0549c27b73b7a)
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 8873954e4..fd192538e 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -50,7 +50,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;