default to post method
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index cc08f4f..37afc2d 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -40,7 +40,7 @@
*/
if ( ! function_exists('form_open'))
{
- function form_open($action = '', $attributes = array(), $hidden = array())
+ function form_open($action = '', $attributes = = 'method="post"', $hidden = array())
{
$CI =& get_instance();
@@ -453,7 +453,6 @@
{
function form_fieldset($legend_text = '', $attributes = array())
{
-
$fieldset = "<fieldset";
$fieldset .= _attributes_to_string($attributes, FALSE);
@@ -464,8 +463,6 @@
{
$fieldset .= "<legend>$legend_text</legend>\n";
}
-
-
return $fieldset;
}