From 5f5746a2f68cf5fee500478e3049c1a810b71915 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 20 Dec 2018 19:06:52 +0000 Subject: like permission issue (cherry picked from commit 389b4beba47823ebc0549ee8d7c0549c27b73b7a) --- Zotlabs/Module/Like.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') 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 .= '

' . t('Like/Dislike') . '

'; $o .= EOL . EOL; -- cgit v1.2.3