From: mattc-catalyst Date: Mon, 19 Nov 2007 01:45:45 +0000 (+0000) Subject: MDL-12172: fixed get parameters not being submitted in Firefox X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6779dc6a02f579feb30afc4d9f2b62a18226f396;p=moodle.git MDL-12172: fixed get parameters not being submitted in Firefox Author: Matt Clarkson --- diff --git a/lib/weblib.php b/lib/weblib.php index 397e63743e..cdf37c31f1 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3665,10 +3665,16 @@ function print_continue($link, $return=false) { $link = $CFG->wwwroot .'/'; } } - + + $options = array(); + $linkparts = parse_url($link); + if (isset($linkparts['query'])) { + parse_str($linkparts['query'], $options); + } + $output .= '
'; - $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 .= '
'."\n"; if ($return) {