Fixed bug #11189: Validation issue: value of attribute "method" cannot be "POST"...
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_modsettings.php
index dbbbce1..1ab2e15 100644 (file)
@@ -549,7 +549,7 @@ class t3lib_modSettings {
 #TODO need to add parameters
                if ($useOwnForm AND trim($code)) {
                        $code = '
-               <form action="'.t3lib_div::getIndpEnv('SCRIPT_NAME').'" method="POST" name="'.$this->formName.'" enctype="'.$TYPO3_CONF_VARS['SYS']['form_enctype'].'">'.$code.'</form>';
+               <form action="' . t3lib_div::getIndpEnv('SCRIPT_NAME') . '" method="post" name="' . $this->formName . '" enctype="' . $TYPO3_CONF_VARS['SYS']['form_enctype'] . '">' . $code . '</form>';
                }
 
                return $code;