Browse files

MDL-33102 blogs: userid will be added during blog visibility upgrade

  • Loading branch information...
1 parent 14fdcb4 commit b27eef0f7ed1b8ed58b5953b1f12bb0234d0935f @rajeshtaneja rajeshtaneja committed May 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/tool/bloglevelupgrade/index.php
View
2 admin/tool/bloglevelupgrade/index.php
@@ -121,7 +121,7 @@ function bloglevelupgrade_entries($blogentries, $forum, $cm, $groupid=-1) {
$discussion->groupid = $groupid;
$message = '';
- $discussionid = forum_add_discussion($discussion, null, $message);
+ $discussionid = forum_add_discussion($discussion, null, $message, $blogentry->userid);
// Copy file attachment records
$fs = get_file_storage();

0 comments on commit b27eef0

Please sign in to comment.