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:
fa9b53c
)
MDL-36918 Decode HTML entities on ajax update title
author
Andrew Robert Nicols
<andrew.nicols@luns.net.uk>
Mon, 3 Dec 2012 12:18:21 +0000
(12:18 +0000)
committer
Sam Hemelryk
<sam@moodle.com>
Sun, 9 Dec 2012 22:15:50 +0000
(11:15 +1300)
course/rest.php
patch
|
blob
|
blame
|
history
diff --git
a/course/rest.php
b/course/rest.php
index
12371f8
..
e4ecce2
100644
(file)
--- a/
course/rest.php
+++ b/
course/rest.php
@@
-167,7
+167,7
@@
switch($requestmethod) {
// We need to return strings after they've been through filters for multilang
$stringoptions = new stdClass;
$stringoptions->context = $coursecontext;
- echo json_encode(array('instancename' =>
format_string($module->name, true, $stringoptions
)));
+ echo json_encode(array('instancename' =>
html_entity_decode(format_string($module->name, true, $stringoptions)
)));
break;
}
break;