Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 2b1b897271766711b376a501fe241d9e1f4007f3 1 parent 4f7f2a8
@rajeshtaneja rajeshtaneja authored
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();
Please sign in to comment.
Something went wrong with that request. Please try again.