like permission issue

This commit is contained in:
zotlabs 2018-12-20 11:06:52 -08:00
parent 7a55dd512a
commit 389b4beba4

View File

@ -52,7 +52,7 @@ class Like extends \Zotlabs\Web\Controller {
$observer = \App::get_observer(); $observer = \App::get_observer();
$interactive = $_REQUEST['interactive']; $interactive = $_REQUEST['interactive'];
if($interactive) { if((! $observer) || ($interactive)) {
$o .= '<h1>' . t('Like/Dislike') . '</h1>'; $o .= '<h1>' . t('Like/Dislike') . '</h1>';
$o .= EOL . EOL; $o .= EOL . EOL;