Closed (fixed)
Project:
Bootstrap
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2014 at 12:39 UTC
Updated:
30 Mar 2015 at 08:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
burkeker commentedComment #2
burkeker commentedAttaching a patch here. Including the "class" into the condition statement so it's not printed if $classes doesn't have any value.
Comment #3
markhalliwellActually, this should be handled like bootstrap_menu_link() (making sure that
$element['#attributes']exists or at the very least is an empty array):Comment #4
burkeker commentedThanks - indeed it looks like a more reasonable solution. :)
Comment #5
markhalliwellComment #8
markhalliwell