summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-06-06 15:36:19 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-06-06 15:36:19 +0200
commitf7623aab9c9d9c0d0dae5911857cf8ba8d7a462c (patch)
treedbf8e8f2e6eb1ddc4009fc9d04d4b8cca4a8193c
parent1e6ab99c692bb0337559d3303143838dff37d638 (diff)
default to post method
-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;
}