aboutsummaryrefslogtreecommitdiff
path: root/pages/viewalbum.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-12-13 00:49:02 +0000
committerCash Costello <cash.costello@gmail.com>2009-12-13 00:49:02 +0000
commitb1f340a7041a92541b4e4220fa6c780f596dcc39 (patch)
tree701666f80aeae5daeed3025a4642088594cfc775 /pages/viewalbum.php
parentf743d5a49af135d647243861b1c7e546f8b4c200 (diff)
downloadelgg-b1f340a7041a92541b4e4220fa6c780f596dcc39.tar.gz
elgg-b1f340a7041a92541b4e4220fa6c780f596dcc39.tar.bz2
improved the plugin hooks
Diffstat (limited to 'pages/viewalbum.php')
-rw-r--r--pages/viewalbum.php2
1 files changed, 1 insertions, 1 deletions
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,