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:
ebf709d
)
MDL-46223 Improve the display of marking guide validation message
author
David Mudrák
<david@moodle.com>
Wed, 9 Jul 2014 08:21:16 +0000
(10:21 +0200)
committer
Damyon Wiese
<damyon@moodle.com>
Wed, 9 Jul 2014 08:42:37 +0000
(16:42 +0800)
grade/grading/form/guide/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/grade/grading/form/guide/lib.php
b/grade/grading/form/guide/lib.php
index
9569517
..
5536aca
100644
(file)
--- a/
grade/grading/form/guide/lib.php
+++ b/
grade/grading/form/guide/lib.php
@@
-907,7
+907,7
@@
class gradingform_guide_instance extends gradingform_instance {
if (!empty($this->validationerrors)) {
foreach ($this->validationerrors as $id => $err) {
$a = new stdClass();
- $a->criterianame =
$criteria[$id]['shortname']
;
+ $a->criterianame =
s($criteria[$id]['shortname'])
;
$a->maxscore = $criteria[$id]['maxscore'];
$html .= html_writer::tag('div', get_string('err_scoreinvalid', 'gradingform_guide', $a),
array('class' => 'gradingform_guide-error'));