MDL-11816 fixed wiki export with quick hack

This commit is contained in:
skodak
2008-02-19 11:04:48 +00:00
parent 9e931faa98
commit c26f59b6fc
@@ -69,8 +69,9 @@ function moodle_ewiki_page_wiki_dump($id=0, $data=0, $action=0) {
// removing name="form" from the following form as it does not validate
// and is not referenced. MDL-7861
$ret .= "<br /><br />\n".
'<FORM method="post" action="'.$url.'">'."\n".
'<FORM method="post" action="view.php">'."\n".
"<div class=\"wikiexportbox\">\n".
'<INPUT type="hidden" name="page" value="WikiExport" />'."\n".
'<INPUT type="hidden" name="userid" value="'.$userid.'" />'."\n".
'<INPUT type="hidden" name="groupid" value="'.$groupid.'" />'."\n".
'<INPUT type="hidden" name="id" value="'.$cm->id.'" />'."\n".