MDL-12172 - Sorry, more fall-out from converting continue buttons to use GET instead of POST. Sometimes, URLs were being passed in with & already repalced by & and we weren't handling that properly. Should now be fixed. Merged from MOODLE_19_STABLE.

This commit is contained in:
tjhunt 2007-11-20 17:31:13 +00:00
parent b4d7d27cea
commit 71e197598c

View File

@ -3665,13 +3665,13 @@ function print_continue($link, $return=false) {
$link = $CFG->wwwroot .'/';
}
}
$options = array();
$linkparts = parse_url($link);
$linkparts = parse_url(str_replace('&', '&', $link));
if (isset($linkparts['query'])) {
parse_str($linkparts['query'], $options);
}
$output .= '<div class="continuebutton">';
$output .= print_single_button($link, $options, get_string('continue'), 'get', $CFG->framename, true);