summaryrefslogtreecommitdiff
path: root/modules/slideshow/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-20 08:47:42 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-08-20 08:47:42 -0700
commit152caf5195e3bbcdb353707fed5683ed07927f47 (patch)
treee9108eb01934d41c450e9af902681fbdd3b76ca4 /modules/slideshow/helpers
parent5943761df282bfdfe68453de5c1682030006cd11 (diff)
Resolve issues with show the wrong album when slideshow is invoked from a photo page. In addition, implement the slideshow based on tags.
Diffstat (limited to 'modules/slideshow/helpers')
-rw-r--r--modules/slideshow/helpers/slideshow_event.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/slideshow/helpers/slideshow_event.php b/modules/slideshow/helpers/slideshow_event.php
index 7060fa1d..926b4da1 100644
--- a/modules/slideshow/helpers/slideshow_event.php
+++ b/modules/slideshow/helpers/slideshow_event.php
@@ -28,7 +28,7 @@ class slideshow_event_Core {
}
static function photo_menu($menu, $theme) {
- $item = $theme->item()->parent();
+ $item = $theme->item();
$menu->append(Menu::factory("link")
->id("slideshow")
->label(t("View slideshow"))