From bfcc243de470b4947d385ccf7f302359114ac142 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 23 May 2008 11:23:15 +0000 Subject: ... and again ... git-svn-id: https://code.elgg.org/elgg/trunk@695 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 1fe87b5b6..7a842cfd1 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -800,7 +800,7 @@ //if (!isset($CONFIG->hooks['all']['all'])) // return $returnvalue; - if (!empty($CONFIG->hooks['all']['all']) && is_array($CONFIG->hooks[$hook]['all'])) { + if (!empty($CONFIG->hooks['all']['all']) && is_array($CONFIG->hooks['all']['all'])) { foreach($CONFIG->hooks['all']['all'] as $hookfunction) { $temp_return_value = $hookfunction($hook, $entity_type, $returnvalue, $params); if (!is_null($temp_return_value)) $returnvalue = $temp_return_value; -- cgit v1.2.3