From b1f340a7041a92541b4e4220fa6c780f596dcc39 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 13 Dec 2009 00:49:02 +0000 Subject: improved the plugin hooks --- pages/viewalbum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/viewalbum.php') diff --git a/pages/viewalbum.php b/pages/viewalbum.php index 9ebc31fae..050b124cb 100644 --- a/pages/viewalbum.php +++ b/pages/viewalbum.php @@ -33,7 +33,7 @@ } // allow other plugins to override the slideshow - $slideshow_link = trigger_plugin_hook('tp_slideshow', 'album', $album, null); + $slideshow_link = trigger_plugin_hook('tp_slideshow', 'album', array('album' => $album), null); if ($slideshow_link) { add_submenu_item(elgg_echo('album:slideshow'), $slideshow_link, -- cgit v1.2.3