portfolio MDL-23022 Fixed navigation when cancelling a portfolio export

This commit is contained in:
Sam Hemelryk
2011-03-18 16:19:59 +08:00
parent 56babbcb76
commit 34b9d4d4a5
+1
View File
@@ -94,6 +94,7 @@ if (!empty($dataid)) {
if ($cancelsure) {
$exporter->cancel_request($logreturn);
} else {
portfolio_export_pagesetup($PAGE, $exporter->get('caller'));
$exporter->print_header(get_string('confirmcancel', 'portfolio'));
echo $OUTPUT->box_start();
$yesbutton = new single_button(new moodle_url('/portfolio/add.php', array('id' => $dataid, 'cancel' => 1, 'cancelsure' => 1, 'logreturn' => $logreturn)), get_string('yes'));