Permalink
Browse files

corrected typo (superfluous double-quote) when inserting $CFG->framet…

…arget (see MDL-8675)
  • Loading branch information...
1 parent 9f60b59 commit 083dad4922b448aef467b8940a973bc8e3da008e gbateson committed Feb 28, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/lib.php
View
@@ -1683,7 +1683,7 @@ function insert_form($startblock, $endblock, $form_name, $form_fields, $keep_con
$replace .= '\\2';
}
if ($form_name) {
- $replace = '<form action="'.$CFG->wwwroot.'/mod/hotpot/attempt.php" method="post" name="'.$form_name.'" target="'.$CFG->framename.'">'.$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>';

0 comments on commit 083dad4

Please sign in to comment.