diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-06 18:25:44 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-03-06 18:25:44 +0000 |
commit | 8a6eb931ded561c4b4f96838bf4576b89a2e0dc8 (patch) | |
tree | 8bdfdbb23d1f11c591686400943cea7326bd3070 | |
parent | 6a33dd2c5c8d59cc800f5ac6b22e94abaad77694 (diff) |
Undo local change for ticket #1170
-rw-r--r-- | kohana/helpers/form.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kohana/helpers/form.php b/kohana/helpers/form.php index 64a6d5f6..eeed10ab 100644 --- a/kohana/helpers/form.php +++ b/kohana/helpers/form.php @@ -24,9 +24,7 @@ class form_Core { // Make sure that the method is always set empty($attr['method']) and $attr['method'] = 'post'; - /* ******* Begin Local Fix for Kohana ticket: 1170 *********/ - if (!in_array($attr['method'], array('post', 'get', 'put'))) - /* ******* End Local Fix for Kohana ticket: 1170 *********/ + if ($attr['method'] !== 'post' and $attr['method'] !== 'get') { // If the method is invalid, use post $attr['method'] = 'post'; |