]> git.mjollnir.org Git - moodle.git/commitdiff
fix superfluous double-quote causing malformed FORM tag (MDL-8675)
authorgbateson <gbateson>
Wed, 14 Mar 2007 01:22:54 +0000 (01:22 +0000)
committergbateson <gbateson>
Wed, 14 Mar 2007 01:22:54 +0000 (01:22 +0000)
mod/hotpot/lib.php

index 13c7b62cc55a358e165e495813d615ba09c3a519..9fa07d8e9d3b4bdf62d62a3a1cc87a20db8f32a3 100644 (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>';