From 399b5ec2763e2cb4a73c6fab0c52ffa0d430b882 Mon Sep 17 00:00:00 2001 From: icewing Date: Fri, 28 Mar 2008 18:18:34 +0000 Subject: Marcus Povey * Whitespace git-svn-id: https://code.elgg.org/elgg/trunk@286 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 90cd11360..3d1329e08 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -713,7 +713,7 @@ */ function trigger_plugin_hook($hook, $entity_type, $params = null, $returnvalue = null) { global $CONFIG; - + if (!isset($CONFIG->hooks) || !isset($CONFIG->hooks[$hook]) || !isset($CONFIG->hooks[$hook][$entity_type])) return $returnvalue; -- cgit v1.2.3