summaryrefslogtreecommitdiff
path: root/modules/slideshow/helpers/slideshow_event.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/slideshow/helpers/slideshow_event.php')
-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 0afe8126..9b77dd42 100644
--- a/modules/slideshow/helpers/slideshow_event.php
+++ b/modules/slideshow/helpers/slideshow_event.php
@@ -32,7 +32,7 @@ class slideshow_event_Core {
static function album_menu($menu, $theme) {
$descendants_count = ORM::factory("item", $theme->item()->id)
- ->descendants_count(array("type" => "photo"));
+ ->descendants_count(array(array("type", "=", "photo")));
if ($descendants_count > 1) {
$menu->append(Menu::factory("link")
->id("slideshow")