From 0d1c7250f0036bd72297aacc4414664488db44e8 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 7 Mar 2008 19:05:04 +0000 Subject: Event API fix git-svn-id: https://code.elgg.org/elgg/trunk@111 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit v1.2.3