
| Key: |
MDL-14928
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Tim Hunt
|
| Reporter: |
Tim Hunt
|
| Votes: |
0
|
| Watchers: |
0
|
|
|
| Participants: |
Jerome Mouneyrac and Tim Hunt
|
| Security Level: |
None
|
| QA Assignee: |
Jerome Mouneyrac
|
| Resolved date: |
21/May/08
|
| Affected Branches: |
MOODLE_19_STABLE
|
| Fixed Branches: |
MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
|
http://moodle.org/mod/forum/discuss.php?d=65204
Joseph Rézeau suggests the fix:
Solution: In file moodle/mod/quiz/edit.php, towards line 185, replace:
$form->name = get_string('random', 'quiz') .' ('. $category->name .')';
with
$form->name = get_string('random', 'quiz') .' ('. addslashes($category->name) .')';
which is right. I'll apply it.
|
|
Description
|
http://moodle.org/mod/forum/discuss.php?d=65204
Joseph Rézeau suggests the fix:
Solution: In file moodle/mod/quiz/edit.php, towards line 185, replace:
$form->name = get_string('random', 'quiz') .' ('. $category->name .')';
with
$form->name = get_string('random', 'quiz') .' ('. addslashes($category->name) .')';
which is right. I'll apply it. |
Show » |
|