Skip to content

Commit

Permalink
Oops. Change "$this" to "$menu" in our menu component views.
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Oct 27, 2009
1 parent 76c0c7f commit 3b66ea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gallery/views/menu.html.php
Expand Up @@ -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>
Expand All @@ -14,7 +14,7 @@
<?= $menu->label->for_html() ?>
</a>
<ul>
<? foreach ($this->elements as $element): ?>
<? foreach ($menu->elements as $element): ?>
<?= $element->render() ?>
<? endforeach ?>
</ul>
Expand Down

0 comments on commit 3b66ea3

Please sign in to comment.