]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13669 - Editing now only lists the manually added tags
authorscyrma <scyrma>
Tue, 26 Feb 2008 06:54:45 +0000 (06:54 +0000)
committerscyrma <scyrma>
Tue, 26 Feb 2008 06:54:45 +0000 (06:54 +0000)
tag/edit.php

index 8a4bb8d213ce38d32feba24d1d0c65586bd92204..7dd236edb41d26a59e42d18b30793da658e43428 100644 (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();