mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Renamed column question_sessions->comment at Eloy's request since comment is a DB reserved word.
I have not been able to test this fully, because I cannot assign roles (e.g. Student and Teacher) in 1.7dev at the moment to test a student answering an essay question then a teacher grading it. However, I have tested as much as possible as admin and cannot get any errors.
This commit is contained in:
parent
dd4a1bca28
commit
3e3e5a4030
11 changed files with 27 additions and 19 deletions
|
@ -10,7 +10,7 @@
|
|||
</td>
|
||||
<td>
|
||||
<?php
|
||||
print_textarea($usehtmleditor, 15, 60, 630, 300, $prefix.'[comment]', stripslashes($state->comment));
|
||||
print_textarea($usehtmleditor, 15, 60, 630, 300, $prefix.'[comment]', stripslashes($state->manualcomment));
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -533,7 +533,7 @@ class default_questiontype {
|
|||
$grade .= $question->maxgrade;
|
||||
}
|
||||
|
||||
$comment = stripslashes($state->comment);
|
||||
$comment = stripslashes($state->manualcomment);
|
||||
$commentlink = '';
|
||||
|
||||
if (isset($options->questioncommentlink) && $context && has_capability('mod/quiz:grade', $context)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue