missing observer check

(cherry picked from commit ec769bc9f9)
This commit is contained in:
Mario Vavti 2018-12-20 18:45:11 +00:00 committed by Mario
parent 06c71eec65
commit d0ee6d1ad2

View File

@ -250,6 +250,9 @@ class Like extends \Zotlabs\Web\Controller {
}
else {
if(! $observer)
killme();
// this is used to like an item or comment
$item_id = ((argc() == 2) ? notags(trim(argv(1))) : 0);