aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-12-20 19:45:11 +0100
committerMario Vavti <mario@mariovavti.com>2018-12-20 19:45:11 +0100
commitec769bc9f948956a8093c675a14970461c5d8304 (patch)
treefbca29895e38a691922460c227a4a0bcfaf5f416 /Zotlabs/Module
parent6b259070f0fb0cd0ff7ebc5b2c313902f513b5fd (diff)
downloadvolse-hubzilla-ec769bc9f948956a8093c675a14970461c5d8304.tar.gz
volse-hubzilla-ec769bc9f948956a8093c675a14970461c5d8304.tar.bz2
volse-hubzilla-ec769bc9f948956a8093c675a14970461c5d8304.zip
missing observer check
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Like.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php
index d19154eb4..0455c5265 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -251,6 +251,9 @@ class Like extends \Zotlabs\Web\Controller {
}
}
else {
+
+ if(! $observer)
+ killme();
// this is used to like an item or comment