Closed (fixed)
Project:
SiteMenu
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2008 at 16:09 UTC
Updated:
17 Apr 2008 at 16:21 UTC
This module is great, but if you have an empty vocabulary it can break the page horribly - it ends up returning a without opening one. This can completely change the structure of the HTML on the page (as it did on one of my sites).
The fix is simple - at the head of the theme function simply return an emty string if the $tree array is empty.
| Comment | File | Size | Author |
|---|---|---|---|
| sitemenu_empty_vocab_problem.patch | 616 bytes | nicholasthompson |
Comments
Comment #1
kbahey commentedThank you.
Committed to 5.x-1.x-dev.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.