aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-07 19:05:04 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-07 19:05:04 +0000
commit0d1c7250f0036bd72297aacc4414664488db44e8 (patch)
tree0820f284e616a66dd48745b6cb7cb1aeea8a71fb /engine/lib
parent7b6f4048ca4d0eed589db0d02590642167889d98 (diff)
downloadelgg-0d1c7250f0036bd72297aacc4414664488db44e8.tar.gz
elgg-0d1c7250f0036bd72297aacc4414664488db44e8.tar.bz2
Event API fix
git-svn-id: https://code.elgg.org/elgg/trunk@111 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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;
}
}