git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 1459443b authored by Evan Prodromou's avatar Evan Prodromou

cut-and-paste error in TagSubMenu

parent 3377cd59
......@@ -252,15 +252,6 @@ class TagSubPlugin extends Plugin
$menu->submenu(_m('Tags'), $tagSubMenu);
}
foreach ($tags as $tag) {
$menu->out->menuItem(common_local_url('tag',
array('tag' => $tag)),
sprintf('#%s', $tag),
sprintf(_('Notices tagged with %s'), $tag),
$menu->actionName == 'tag' && $menu->action->arg('tag') == $tag,
'nav_streams_tag_'.$tag);
}
return true;
}
......
......@@ -61,7 +61,7 @@ class TagSubMenu extends Menu
{
$this->out->elementStart('ul', array('class' => 'nav'));
foreach ($tags as $tag) {
foreach ($this->tags as $tag) {
$this->out->menuItem(common_local_url('tag',
array('tag' => $tag)),
sprintf('#%s', $tag),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment