Permalink
Browse files

MDL-12172: fixed get parameters not being submitted in Firefox

Author: Matt Clarkson <mattc@catalyst.net.nz>
  • Loading branch information...
1 parent 5bbf18c commit 6779dc6a02f579feb30afc4d9f2b62a18226f396 mattc-catalyst committed Nov 19, 2007
Showing with 8 additions and 2 deletions.
  1. +8 −2 lib/weblib.php
View
@@ -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 .= '<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";
if ($return) {

0 comments on commit 6779dc6

Please sign in to comment.