summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-10-27 13:57:36 -0700
committerBharat Mediratta <bharat@menalto.com>2009-10-27 13:57:36 -0700
commit3b66ea3c3a4889c3ab3a2da0626fa5b554c1a7c9 (patch)
treeb658e5653db5ab096579f4d6eeae0da6bb1befdb
parent76c0c7f3a1246319242e8fff7649c1450da0f98e (diff)
Oops. Change "$this" to "$menu" in our menu component views.
-rw-r--r--modules/gallery/views/menu.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/views/menu.html.php b/modules/gallery/views/menu.html.php
index 0731c7b6..ba16ef36 100644
--- a/modules/gallery/views/menu.html.php
+++ b/modules/gallery/views/menu.html.php
@@ -2,7 +2,7 @@
<? if ($menu->is_root): ?>
<ul class="<?= $menu->css_class ?>">
- <? foreach ($this->elements as $element): ?>
+ <? foreach ($menu->elements as $element): ?>
<?= $element->render() ?>
<? endforeach ?>
</ul>
@@ -14,7 +14,7 @@
<?= $menu->label->for_html() ?>
</a>
<ul>
- <? foreach ($this->elements as $element): ?>
+ <? foreach ($menu->elements as $element): ?>
<?= $element->render() ?>
<? endforeach ?>
</ul>