Skip to content

Commit

Permalink
portfolio MDL-21233 fixed a regression in the change to moodle_url
Browse files Browse the repository at this point in the history
  • Loading branch information
Penny Leach committed Feb 26, 2010
1 parent c2d2f7a commit 67aec44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portfolio/add.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
} else {
$exporter->print_header('confirmcancel');
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'));
$yesbutton = new single_button(new moodle_url('/portfolio/add.php', array('id' => $dataid, 'cancel' => 1, 'cancelsure' => 1, 'logreturn' => $logreturn)), get_string('yes'));
if ($logreturn) {
$nobutton = new single_button(new moodle_url('/user/portfoliologs.php', array('id' => $dataid)), get_string('no'));
} else {
Expand Down

0 comments on commit 67aec44

Please sign in to comment.