like permission issue

(cherry picked from commit 389b4beba4)
This commit is contained in:
zotlabs 2018-12-20 19:06:52 +00:00 committed by Mario
parent d0ee6d1ad2
commit 5f5746a2f6

View File

@ -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;