cut-and-paste error in TagSubMenu
This commit is contained in:
parent
3377cd59ce
commit
1459443b21
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user