diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-12-20 18:45:11 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-12-20 19:45:59 +0100 |
commit | d0ee6d1ad23bb265b5f2b17300fd8d7228701cfa (patch) | |
tree | 40b36a5e7ac6a7ad4aeb5b8af4803da1eba99740 | |
parent | 06c71eec659e4cce89a7623291e6e855fd0c0ce4 (diff) | |
download | volse-hubzilla-d0ee6d1ad23bb265b5f2b17300fd8d7228701cfa.tar.gz volse-hubzilla-d0ee6d1ad23bb265b5f2b17300fd8d7228701cfa.tar.bz2 volse-hubzilla-d0ee6d1ad23bb265b5f2b17300fd8d7228701cfa.zip |
missing observer check
(cherry picked from commit ec769bc9f948956a8093c675a14970461c5d8304)
-rw-r--r-- | Zotlabs/Module/Like.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php index 4e216f08b..8873954e4 100644 --- a/Zotlabs/Module/Like.php +++ b/Zotlabs/Module/Like.php @@ -249,6 +249,9 @@ class Like extends \Zotlabs\Web\Controller { } } else { + + if(! $observer) + killme(); // this is used to like an item or comment |