XHTML fixes
[squirrelmail.git] / functions / forms.php
index 3583a33fc3849405a325f80f8c75a87f46d3f651..b6ce3b37929a8b167850abd06f4bd4fbd693688f 100644 (file)
@@ -128,7 +128,7 @@ function addTextArea($name, $text = '', $cols = 40, $rows = 10, $attr = '') {
 /**
  * Make a <form> start-tag.
  */
-function addForm($action, $method = 'POST', $name = '', $enctype = '', $charset = '')
+function addForm($action, $method = 'post', $name = '', $enctype = '', $charset = '')
 {
     if($name) {
         $name = ' name="'.$name.'"';