Merge pull request #4510 from humhub/fix/activityMail

Fixed activity queue processing problem
This commit is contained in:
Lucas Bartholemy 2020-10-14 16:49:16 +02:00 committed by GitHub
commit 2f36e37a1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,12 +193,12 @@ abstract class Stream extends Action
$this->streamQuery = $this->initQuery();
if(!$this->viewContext) {
$this->viewContext = Yii::$app->request->get('viewContext');
}
if (!Yii::$app->request->isConsoleRequest) {
$this->streamQuery->load(Yii::$app->request->get());
if(!$this->viewContext) {
$this->viewContext = Yii::$app->request->get('viewContext');
}
}
$this->beforeApplyFilters();