projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71be7f9
)
Fixed bug 902 when displaying scale grades for offline assignments
author
moodler
<moodler>
Sat, 22 Nov 2003 03:14:59 +0000
(
03:14
+0000)
committer
moodler
<moodler>
Sat, 22 Nov 2003 03:14:59 +0000
(
03:14
+0000)
mod/assignment/view.php
patch
|
blob
|
history
diff --git
a/mod/assignment/view.php
b/mod/assignment/view.php
index 79fabdaa61e229fc241116efef7d742dc9e8ff1c..441b729f8e1e32fa0d5dc3d18fdc6644990db598 100644
(file)
--- a/
mod/assignment/view.php
+++ b/
mod/assignment/view.php
@@
-95,6
+95,9
@@
if ($assignment->type == OFFLINE) {
if ($submission->timemarked) {
+ if (isset($scalegrades)) {
+ $submission->grade = $scalegrades[$submission->grade];
+ }
assignment_print_feedback($course, $submission);
}
} else {