Merge branch 'wip-MDL-53254-m30' of https://github.com/marinaglancy/moodle into MOODLE_30_STABLE

This commit is contained in:
David Monllao
2016-03-23 09:20:35 +08:00
+1
View File
@@ -80,6 +80,7 @@ class core_tag_external extends external_api {
throw new moodle_exception('tagsaredisabled', 'tag');
}
$PAGE->set_context(null); // Ensure page context is set.
$renderer = $PAGE->get_renderer('core');
foreach ($tags['tags'] as $tag) {
$tag = (array)$tag;