fix superfluous double-quote causing malformed FORM tag (MDL-8675)

This commit is contained in:
gbateson
2007-03-14 01:22:54 +00:00
parent 29a430133d
commit 6b1d898f1c
+1 -1
View File
@@ -1683,7 +1683,7 @@ class hotpot_xml_quiz extends hotpot_xml_tree {
$replace .= '\\2';
}
if ($form_name) {
$replace = '<form action="'.$CFG->wwwroot.'/mod/hotpot/attempt.php" method="post" name="'.$form_name.'" '.$CFG->frametarget.'">'.$replace.'</form>';
$replace = '<form action="'.$CFG->wwwroot.'/mod/hotpot/attempt.php" method="post" name="'.$form_name.'"'.$CFG->frametarget.'>'.$replace.'</form>';
}
if ($center) {
$replace = '<div style="margin-left:auto; margin-right:auto; text-align: center;">'.$replace.'</div>';