aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index c69ff3d2f..5594dc497 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -401,7 +401,7 @@
if (!empty($events[$event][$object_type]) && is_array($events[$event][$object_type])) {
foreach($events[$event][$object_type] as $eventfunction) {
- if (!$eventfunction($event, $object_type, $object)) {
+ if ($eventfunction($event, $object_type, $object) === false) {
return false;
}
}