mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Fix: invalid originator setting for SpaceUnArchived activity
This commit is contained in:
parent
d482005d7a
commit
6812b49620
@ -110,7 +110,7 @@ class DefaultController extends Controller
|
|||||||
$space->unarchive();
|
$space->unarchive();
|
||||||
|
|
||||||
// Create Activity when the space in unarchieved
|
// Create Activity when the space in unarchieved
|
||||||
SpaceUnArchieved::instance()->from($space)->about($space->owner)->save();
|
SpaceUnArchieved::instance()->from(Yii::$app->user->getIdentity())->about($space->owner)->save();
|
||||||
|
|
||||||
if (Yii::$app->request->isAjax) {
|
if (Yii::$app->request->isAjax) {
|
||||||
Yii::$app->response->format = 'json';
|
Yii::$app->response->format = 'json';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user