summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Cardoza <bayssmekanique@live.com>2013-03-24 06:02:07 +0100
committerZachary Cardoza <bayssmekanique@live.com>2013-03-24 06:02:07 +0100
commitd4d6e093cc706535398ea0a3800530d1b305f3a8 (patch)
treef4052575b3c11fbb9d9d2996e3983edeb2d61eef
parent9f27a3e0a86c7ffb1751a6815eaf475c28ca96ba (diff)
Fixed error in form_textarea helper function
Reverted from GitHub edited version to remove document line end character. Good to merge now.
-rw-r--r--system/helpers/form_helper.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index 692909c79..fd9e7be7c 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -261,7 +261,6 @@ if ( ! function_exists('form_textarea'))
unset($data['value']); // textareas don't use the value attribute
}
- $name = is_array($data) ? $data['name'] : $data;
return '<textarea '._parse_form_attributes($data, $defaults).$extra.'>'.form_prep($val, TRUE)."</textarea>\n";
}
}