Skip to content

Commit

Permalink
MDL-12172: fixed get parameters not being submitted in Firefox
Browse files Browse the repository at this point in the history
Author: Matt Clarkson <mattc@catalyst.net.nz>
  • Loading branch information
mattc-catalyst committed Nov 19, 2007
1 parent 5bbf18c commit 6779dc6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/weblib.php
Expand Up @@ -3665,10 +3665,16 @@ function print_continue($link, $return=false) {
$link = $CFG->wwwroot .'/'; $link = $CFG->wwwroot .'/';
} }
} }


$options = array();
$linkparts = parse_url($link);
if (isset($linkparts['query'])) {
parse_str($linkparts['query'], $options);
}

$output .= '<div class="continuebutton">'; $output .= '<div class="continuebutton">';


$output .= print_single_button($link, NULL, get_string('continue'), 'get', $CFG->framename, true); $output .= print_single_button($link, $options, get_string('continue'), 'get', $CFG->framename, true);
$output .= '</div>'."\n"; $output .= '</div>'."\n";


if ($return) { if ($return) {
Expand Down

0 comments on commit 6779dc6

Please sign in to comment.