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

Commit f2a9c9c2 authored by Evan Prodromou's avatar Evan Prodromou

check for 0-tag menu

parent fd803ea9
......@@ -247,7 +247,7 @@ class TagSubPlugin extends Plugin
$tags = TagSub::forProfile($user->getProfile());
if (!empty($tags)) {
if (!empty($tags) && count($tags) > 0) {
$tagSubMenu = new TagSubMenu($menu->out, $user, $tags);
$menu->submenu(_m('Tags'), $tagSubMenu);
}
......
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