diff options
Diffstat (limited to 'kohana/helpers')
-rw-r--r-- | kohana/helpers/form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kohana/helpers/form.php b/kohana/helpers/form.php index eeed10ab..0eaec0dc 100644 --- a/kohana/helpers/form.php +++ b/kohana/helpers/form.php @@ -24,7 +24,7 @@ class form_Core { // Make sure that the method is always set empty($attr['method']) and $attr['method'] = 'post'; - if ($attr['method'] !== 'post' and $attr['method'] !== 'get') + if ($attr['method'] !== 'post' AND $attr['method'] !== 'get') { // If the method is invalid, use post $attr['method'] = 'post'; |