Version 4.7.6
This commit is contained in:
1 parent
8ba7d43898
commit
7b7404e741
1085 files changed
+30590
-7837
No files matched your search
@@ -36,8 +36,12 @@ class _Blog
|
||||
|
||||
foreach( \IPS\blog\Blog::loadByOwner( $member2 ) as $blog )
|
||||
{
|
||||
$blog->member_id = $member->member_id;
|
||||
$blog->save();
|
||||
/* Only do this if the blog is not a group blog */
|
||||
if ( !$blog->groupblog_ids )
|
||||
{
|
||||
$blog->member_id = $member->member_id;
|
||||
$blog->save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user