Skip to content

Commit

Permalink
Fixed "Edit submission" button link
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Jan 4, 2010
1 parent dbb3c72 commit 7b9b33e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/workshop/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
$editbutton = new html_form();
$editbutton->method = 'get';
$editbutton->button->text = get_string('editsubmission', 'workshop');
$editbutton->url = new moodle_url($PAGE->url, array('edit' => 'on', 'id' => $submission->id));
$editbutton->url = new moodle_url($workshop->submission_url(), array('edit' => 'on', 'id' => $submission->id));
echo $OUTPUT->button($editbutton);
}
echo $OUTPUT->box_end();
Expand Down

0 comments on commit 7b9b33e

Please sign in to comment.