Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b68de3e
)
Small tweak to specify specifically number of files in an update
author
moodler
<moodler>
Tue, 12 Nov 2002 04:59:28 +0000
(
04:59
+0000)
committer
moodler
<moodler>
Tue, 12 Nov 2002 04:59:28 +0000
(
04:59
+0000)
mod/assignment/upload.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/assignment/upload.php
b/mod/assignment/upload.php
index
4a6dc82
..
0ed3bec
100644
(file)
--- a/
mod/assignment/upload.php
+++ b/
mod/assignment/upload.php
@@
-51,6
+51,7
@@
assignment_delete_user_files($assignment, $USER, $newfile_name);
if ($submission) {
$submission->timemodified = time();
+ $submission->numfiles = 1;
if (update_record("assignment_submissions", $submission)) {
print_heading(get_string("uploadsuccess", "assignment", $newfile_name) );
} else {