diff options
author | Derek Allard <derek.allard@ellislab.com> | 2009-02-10 15:00:34 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2009-02-10 15:00:34 +0100 |
commit | 904094a177488edeacbe8e184d788c286c3e3d9f (patch) | |
tree | c07e2645f598732f33a6817060bf946e6ac7c7fd /system/helpers/form_helper.php | |
parent | 54273ce2807ba2d9ecb67f24e2700c22c59fdb53 (diff) |
Changed the default "type" of form_button() to "button" from "submit" in the form helper.
Diffstat (limited to 'system/helpers/form_helper.php')
-rw-r--r-- | system/helpers/form_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php index 8cae91a41..4a62cdb5e 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php @@ -424,7 +424,7 @@ if ( ! function_exists('form_button')) { function form_button($data = '', $content = '', $extra = '') { - $defaults = array('name' => (( ! is_array($data)) ? $data : ''), 'type' => 'submit'); + $defaults = array('name' => (( ! is_array($data)) ? $data : ''), 'type' => 'button'); if ( is_array($data) AND isset($data['content'])) { |