Closed (fixed)
Project:
Bootstrap
Version:
7.x-2.0-beta2
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2013 at 01:01 UTC
Updated:
7 Feb 2013 at 23:20 UTC
After just installing the bootstrap theme I started getting the following errors.
* Notice: Undefined index: #type in bootstrap_form_element() (line 44 of {DRUPAL_ROOT}/sites/all/themes/bootstrap/includes/form.inc).
![]()
// Add bootstrap class
if ($element['#type'] == "radio" || $element['#type'] == "checkbox") {
$exclude_control = TRUE;
}
else {
$attributes['class'] = array('control-group');
}
Comments
Comment #1
natted commentedInteresting. Thanks, just looking into this.
Comment #2
lyes commentedSolution
Comment #3
natted commentedThanks, applied fix in 2.x-dev