Closed (fixed)
Project:
Drupal core
Version:
5.x-dev
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2006 at 12:11 UTC
Updated:
5 Dec 2006 at 19:45 UTC
If theme_links is passed an empty array of links, it generates a UL block containing no LI elements. This is unnecessary HTML text and, it turns out, also a standard violation. Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| theme-patch.txt | 601 bytes | bjaspan |
Comments
Comment #1
tmckeown commentedLooks alright to me. I can see where passing on empty array would be a problem and this type of validation is propably necessary.
Trevor
Comment #2
chx commentedComment #3
dries commentedCommitted to CVS HEAD. Thanks!
Comment #4
(not verified) commented