summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorBrennan Thompson <brenjt@gmail.com>2014-02-14 22:03:25 +0100
committerBrennan Thompson <brenjt@gmail.com>2014-02-14 22:03:25 +0100
commit87f6000df9b54c7b624a213eddd629ab0121963a (patch)
treeb64901a43b75822c81fcefd2e73c82556cb37eab /system
parent5c2a6bb7daf97195296291e6a12ac7340de42554 (diff)
Actual fix for extra whitespace
Diffstat (limited to 'system')
-rw-r--r--system/helpers/form_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index 23ce9d12d..0f85fdedd 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -336,7 +336,7 @@ if ( ! function_exists('form_dropdown'))
$multiple = (count($selected) > 1 && strpos($extra, 'multiple') === FALSE) ? ' multiple="multiple"' : '';
- $form = '<select '._parse_form_attributes($data, $defaults).$extra.$multiple.">\n";
+ $form = '<select '.rtrim(_parse_form_attributes($data, $defaults).$extra.$multiple).">\n";
foreach ($options as $key => $val)
{