sitemenu: fix adding menu without submenu
Merge pull request #183 from cgcgbcbc/master

sitemenu: fix adding menu without submenu