Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed invalid use of $CFG->frametarget, and restored the original $…

…CFG->framename.(see MDL-8675)
  • Loading branch information...
commit 8e1e849480973722623de27bb7f5ccc25ad16282 1 parent e790b61
gbateson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/hotpot/lib.php
2  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.'" '.$CFG->frametarget.'">'.$replace.'</form>';
+ $replace = '<form action="'.$CFG->wwwroot.'/mod/hotpot/attempt.php" method="post" name="'.$form_name.'" target="'.$CFG->framename.'">'.$replace.'</form>';
}
if ($center) {
$replace = '<div style="margin-left:auto; margin-right:auto; text-align: center;">'.$replace.'</div>';
Please sign in to comment.
Something went wrong with that request. Please try again.