MDL-14237: Removing all remaining tag-related uses of html_entity_decode

This commit is contained in:
scyrma
2008-07-07 07:40:35 +00:00
parent 347579d364
commit c2efdd7624
5 changed files with 17 additions and 12 deletions
+1 -2
View File
@@ -32,8 +32,7 @@ $systemcontext = get_context_instance(CONTEXT_SYSTEM);
require_capability('moodle/tag:edit', $systemcontext);
// set the relatedtags field of the $tag object that will be passed to the form
// need to use html_entity_decode because formslib does it for us later on.
$tag->relatedtags = html_entity_decode(tag_get_related_tags_csv(tag_get_related_tags($tag->id, TAG_RELATED_MANUAL), TAG_RETURN_TEXT));
$tag->relatedtags = tag_get_related_tags_csv(tag_get_related_tags($tag->id, TAG_RELATED_MANUAL), TAG_RETURN_TEXT);
if (can_use_html_editor()) {
$options = new object();