Skip to content

Commit

Permalink
portfolio MDL-23022 Fixed navigation when cancelling a portfolio export
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Mar 18, 2011
1 parent 56babbc commit 34b9d4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions portfolio/add.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
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'));
Expand Down

0 comments on commit 34b9d4d

Please sign in to comment.