Skip to content

Commit

Permalink
Fixed Bug #4533 - Max upload size at course level ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jan 6, 2006
1 parent 2e7efb7 commit fdbc5bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function set_value(txt) {
// um will take care of error reporting.
displaydir($wdir);
} else {
$upload_max_filesize = get_max_upload_file_size($CFG->maxbytes);
$upload_max_filesize = get_max_upload_file_size($CFG->maxbytes, $course->maxbytes);
$filesize = display_size($upload_max_filesize);

$struploadafile = get_string("uploadafile");
Expand Down

0 comments on commit fdbc5bb

Please sign in to comment.