diff options
author | Andrey Andreev <narf@bofh.bg> | 2013-03-25 14:43:12 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2013-03-25 14:43:12 +0100 |
commit | cb028bce4120adb020c215aa9aa954347d0b8fb7 (patch) | |
tree | ccb1192b95c575ad0ac24083a93bb27103e381d2 | |
parent | 5ac04e55ae968c36efac0b9c5a721936418c4e57 (diff) | |
parent | d4d6e093cc706535398ea0a3800530d1b305f3a8 (diff) |
Merge pull request #2352 from bayssmekanique/develop
Fixed error in Form Helper textarea function
-rw-r--r-- | system/helpers/form_helper.php | 1 |
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"; } } |