Commit 4b14f76b authored by Dries's avatar Dries

- Patch #6470 by Brian: fixed XHTML error with multiple selection boxes.

parent 5169fe6d
......@@ -627,7 +627,7 @@ function _taxonomy_term_select($title, $name, $value, $vocabulary_id, $descripti
$size = min(12, count($options));
return form_item($title, "<select name=\"edit[$name][]\"". ($multiple ? " multiple size=\"$size\"" : "") . ($extra ? " $extra" : "") .">$select</select>", $description);
return form_item($title, "<select name=\"edit[$name][]\"". ($multiple ? " multiple=\"multiple\" size=\"$size\"" : "") . ($extra ? " $extra" : "") .">$select</select>", $description);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment