From 6779dc6a02f579feb30afc4d9f2b62a18226f396 Mon Sep 17 00:00:00 2001 From: mattc-catalyst Date: Mon, 19 Nov 2007 01:45:45 +0000 Subject: [PATCH] MDL-12172: fixed get parameters not being submitted in Firefox Author: Matt Clarkson --- lib/weblib.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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) { -- 2.39.5