mirror of
https://github.com/humhub/humhub.git
synced 2025-01-29 12:28:06 +01:00
Fix #4581: Users see content of archived spaces on dashboard
This commit is contained in:
parent
a0c4c29247
commit
f91b24ce49
@ -16,7 +16,8 @@ HumHub Changelog
|
||||
- Enh #4531: Remove wall entry left padding on mobile
|
||||
- Fix #4554: Code blocks in comments uses same background color
|
||||
- Fix #4574: Different style between clickable and non clickable space/user counter
|
||||
- Fix #4575: Increased text size of "Read more" link on short-text post
|
||||
- Fix #4575: Increased text size of "Read more" link on short-text post
|
||||
- Fix #4581: Users see content of archived spaces on dashboard
|
||||
|
||||
|
||||
1.7.0-beta.1 (October 16, 2020)
|
||||
|
@ -66,7 +66,9 @@ class DashboardStreamAction extends ActivityStreamAction
|
||||
->select(["contentcontainer.id"])
|
||||
->from('space')
|
||||
->leftJoin('contentcontainer', 'space.id=contentcontainer.pk AND contentcontainer.class=:spaceClass')
|
||||
->where('space.visibility=' . Space::VISIBILITY_ALL);
|
||||
->where('space.visibility=' . Space::VISIBILITY_ALL)
|
||||
->andWhere('space.status='. Space::STATUS_ENABLED);
|
||||
|
||||
$union = Yii::$app->db->getQueryBuilder()->build($publicSpacesSql)[0];
|
||||
|
||||
$publicProfilesSql = (new Query())
|
||||
|
Loading…
x
Reference in New Issue
Block a user