Work around weird vanishing form data problem (http://bugs.php.net/bug.php?id=22427 )
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 16 Oct 2004 02:36:51 +0000 (02:36 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 16 Oct 2004 02:36:51 +0000 (02:36 +0000)
includes/EditPage.php

index e362e3c..05c6b9a 100644 (file)
@@ -472,7 +472,7 @@ class EditPage {
                $wgOut->addHTML( "
 {$toolbar}
 <form id=\"editform\" name=\"editform\" method=\"post\" action=\"$action\"
-enctype=\"application/x-www-form-urlencoded\">
+enctype=\"multipart/form-data\">
 {$commentsubject}
 <textarea tabindex='1' accesskey=\",\" name=\"wpTextbox1\" rows='{$rows}'
 cols='{$cols}'{$ew}>" .