MDL-13669 - Editing now only lists the manually added tags
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user