summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-10 10:39:59 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-10 10:39:59 -0700
commit86a7b15d206d29387637864f63b7ac795fce981d (patch)
tree850a28d9f71c66e45b3a43f8860cb16d6d94df30
parent12796ec2ca386895a713583c683348e7d02bc66b (diff)
Compact all menus. This fixes the problem that the new [Options]
thumb menu shows up when it has nothing in it.
-rw-r--r--modules/gallery/libraries/Theme_View.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php
index 898574d7..75138f25 100644
--- a/modules/gallery/libraries/Theme_View.php
+++ b/modules/gallery/libraries/Theme_View.php
@@ -127,6 +127,7 @@ class Theme_View_Core extends Gallery_View {
}
}
+ $menu->compact();
print $menu;
}