From 3e5c121333422e489c24bc775bb1c62753e361a8 Mon Sep 17 00:00:00 2001 From: icewing Date: Thu, 22 May 2008 14:04:19 +0000 Subject: Marcus Povey * Clarification: Trigger event can only be passed a context related to a ElggEntity git-svn-id: https://code.elgg.org/elgg/trunk@681 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/elgglib.php') diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 57b8c71c8..acffe923d 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -677,7 +677,7 @@ * @param string $function The function name * @return true|false Depending on success */ - function trigger_event($event, $object_type, $object = null) { + function trigger_event($event, $object_type, ElggEntity $object = null) { $return = true; $return1 = events($event, $object_type, "", null, true, $object); -- cgit v1.2.3