aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-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,