MDL-13669 - Editing now only lists the manually added tags

This commit is contained in:
scyrma
2008-02-26 06:54:45 +00:00
parent 9c5f33ade9
commit bbb4ba59e5
+1 -1
View File
@@ -29,7 +29,7 @@ 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_RETURN_TEXT));
$tag->relatedtags = html_entity_decode(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();