From e15d1be514dad1df7a3c38d6265566692ecf1260 Mon Sep 17 00:00:00 2001 From: Zach Cardoza Date: Fri, 22 Mar 2013 14:50:39 -0700 Subject: Fixed error in Form Helper textarea function Function had declaration of unused $name variable which caused errors. --- system/helpers/form_helper.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'system/helpers') diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php index 692909c79..84a3e80cf 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 '\n"; } } @@ -1005,4 +1004,4 @@ if ( ! function_exists('_get_validation_object')) } /* End of file form_helper.php */ -/* Location: ./system/helpers/form_helper.php */ \ No newline at end of file +/* Location: ./system/helpers/form_helper.php */ -- cgit v1.2.3-24-g4f1b