Removed extra space, condensed $defaults
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index da4646d..a724406 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -311,8 +311,7 @@
 	 */
 	function form_dropdown($data = '', $options = array(), $selected = array(), $extra = '')
 	{
-		$name = ! is_array($data) ? $data : '';
-		$defaults = array('name' => $name);
+		$defaults = array('name' => is_array($data) ? '' : $data);
 
 		if (is_array($data) && isset($data['selected']))
 		{
@@ -336,11 +335,11 @@
 
 		is_array($options) OR $options = array($options);
 
-                $extra = _attributes_to_string($extra);
+		$extra = _attributes_to_string($extra);
 
 		$multiple = (count($selected) > 1 && strpos($extra, 'multiple') === FALSE) ? ' multiple="multiple"' : '';
 
-		$form = '<select '.trim(_parse_form_attributes($data, $defaults)).$extra.$multiple.">\n";
+		$form = '<select '.rtrim(_parse_form_attributes($data, $defaults)).$extra.$multiple.">\n";
 
 		foreach ($options as $key => $val)
 		{