diff --git a/backup/util/ui/renderer.php b/backup/util/ui/renderer.php index 3015d2227ed..0cb151ba50f 100644 --- a/backup/util/ui/renderer.php +++ b/backup/util/ui/renderer.php @@ -519,7 +519,7 @@ class core_backup_renderer extends plugin_renderer_base { $method = 'get'; } $url->param('sesskey', sesskey()); - $button = new single_button($url, get_string('continue'), $method); + $button = new single_button($url, get_string('continue'), $method, true); $button->class = 'continuebutton'; return $this->render($button); } diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 8357799d31a..2fd66bc1512 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -2777,7 +2777,7 @@ EOD; if (!($url instanceof moodle_url)) { $url = new moodle_url($url); } - $button = new single_button($url, get_string('continue'), 'get'); + $button = new single_button($url, get_string('continue'), 'get', true); $button->class = 'continuebutton'; return $this->render($button);