mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix: space archive activity wrong originator assignment
This commit is contained in:
parent
1e92dca18b
commit
d482005d7a
@ -6,6 +6,7 @@ HumHub Change Log
|
||||
|
||||
- Fix: prevent user serialization for SocialActivity
|
||||
- Fix: wrong return value for `Content::move()`
|
||||
- Fix: space archive activity wrong originator assignment
|
||||
|
||||
1.3.0-beta.2 (July 18, 2018)
|
||||
-----------------------------
|
||||
|
@ -88,7 +88,7 @@ class DefaultController extends Controller
|
||||
$space->archive();
|
||||
|
||||
// Create Activity when the space in archieved
|
||||
SpaceArchieved::instance()->from($space)->about($space->owner)->save();
|
||||
SpaceArchieved::instance()->from(Yii::$app->user->getIdentity())->about($space->owner)->save();
|
||||
|
||||
if (Yii::$app->request->isAjax) {
|
||||
Yii::$app->response->format = 'json';
|
||||
|
Loading…
x
Reference in New Issue
Block a user