From b016d37b4e4ad845b98599f5784e30fc696e3e29 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 8 Jul 2009 10:07:15 +0000 Subject: Refs #427: Added $vars array to hook call. git-svn-id: https://code.elgg.org/elgg/trunk@3397 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine') 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; -- cgit v1.2.3