Permalink
Browse files

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

  • Loading branch information...
1 parent 4f7f2a8 commit 2b1b897271766711b376a501fe241d9e1f4007f3 Rajesh Taneja committed May 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 2b1b897

Please sign in to comment.