aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-28 18:18:34 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-28 18:18:34 +0000
commit399b5ec2763e2cb4a73c6fab0c52ffa0d430b882 (patch)
treefee281bf216736968f8be65f7ae113b75fe9aa18 /engine
parent434215396e85fddabfc4de379121de98ffcb84ed (diff)
downloadelgg-399b5ec2763e2cb4a73c6fab0c52ffa0d430b882.tar.gz
elgg-399b5ec2763e2cb4a73c6fab0c52ffa0d430b882.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Whitespace git-svn-id: https://code.elgg.org/elgg/trunk@286 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-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 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;