MDL-13404 - Modification to all tag_get_tags_* calls needing an array & other improvements

This commit is contained in:
scyrma
2008-02-26 06:39:10 +00:00
parent 186fa912d9
commit 7bbd75dc6e
6 changed files with 63 additions and 39 deletions
+1 -1
View File
@@ -61,7 +61,7 @@
//user interests separated by commas
if (!empty($CFG->usetags)) {
require_once($CFG->dirroot.'/tag/lib.php');
$user->interests = html_entity_decode(tag_get_tags_csv(array('type'=>'user','id'=>$id), TAG_RETURN_TEXT)); // formslib uses htmlentities itself
$user->interests = html_entity_decode(tag_get_tags_csv('user', $id, TAG_RETURN_TEXT)); // formslib uses htmlentities itself
}
//create form