MDL-15758 - fixing bugs nico found in testing

This commit is contained in:
mjollnir_
2008-08-14 12:40:20 +00:00
parent 599e379d16
commit 899ffdfbdd
3 changed files with 3 additions and 3 deletions
@@ -361,7 +361,7 @@ class assignment_upload extends assignment_base {
}
if (has_capability('mod/assignment:exportownsubmission', $this->context)) {
$p['file'] = $filename;
$p['file'] = $file->get_id();
$output .= portfolio_add_button('assignment_portfolio_caller', $p, '/mod/assignment/lib.php', false, true);
}
$output .= '<br />';