Restore escaped from latest tag-lib refactoring. MDL-14038 ; merged from 19_STABLE

This commit is contained in:
stronk7 2008-03-24 16:39:48 +00:00
parent 0c273be0b2
commit cfa239ab7f

View file

@ -2662,7 +2662,7 @@ define('RESTORE_GROUPS_GROUPINGS', 3);
foreach($user->user_tags as $user_tag) { foreach($user->user_tags as $user_tag) {
$tags[] = $user_tag->rawname; $tags[] = $user_tag->rawname;
} }
update_item_tags('user', $newid, implode(',', $tags)); tag_set('user', $newid, $tags);
} }
} }
@ -8356,4 +8356,4 @@ define('RESTORE_GROUPS_GROUPINGS', 3);
fclose($restorelog); fclose($restorelog);
} }
} }
?> ?>