aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-08 10:07:15 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-07-08 10:07:15 +0000
commitb016d37b4e4ad845b98599f5784e30fc696e3e29 (patch)
tree5ef880a7e9cf5681998c3ba2f220984ad8b51b6d
parent357c6be0dd5f2fd7f90ea8376aefb8c83029a110 (diff)
downloadelgg-b016d37b4e4ad845b98599f5784e30fc696e3e29.tar.gz
elgg-b016d37b4e4ad845b98599f5784e30fc696e3e29.tar.bz2
Refs #427: Added $vars array to hook call.
git-svn-id: https://code.elgg.org/elgg/trunk@3397 36083f99-b078-4883-b0ff-0f9b5a30f544
-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 ac6522c61..067eaec71 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -265,7 +265,7 @@
$content = ob_get_clean();
// Plugin hook
- $content = trigger_plugin_hook('display','view',array('view' => $view_orig),$content);
+ $content = trigger_plugin_hook('display', 'view', array('view' => $view_orig, 'vars' => $vars), $content);
// Return $content
return $content;