summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/helpers/form_helper.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index cc08f4fe4..37afc2daf 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 @@ if ( ! function_exists('form_fieldset'))
{
function form_fieldset($legend_text = '', $attributes = array())
{
-
$fieldset = "<fieldset";
$fieldset .= _attributes_to_string($attributes, FALSE);
@@ -464,8 +463,6 @@ if ( ! function_exists('form_fieldset'))
{
$fieldset .= "<legend>$legend_text</legend>\n";
}
-
-
return $fieldset;
}