mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix: Include user profile posts option in dashboard stream broken
This commit is contained in:
parent
6cd3c7e4f0
commit
eedc64c2ec
@ -8,6 +8,7 @@ HumHub Change Log
|
||||
- Fix #3378: Update user in search index when group memberships changes
|
||||
- Fix: Space un-archived activity view path broken
|
||||
- Enh: Accepting module README.md files in 'docs' directory
|
||||
- Fix: Include user profile posts option in dashboard stream broken
|
||||
|
||||
|
||||
1.3.8 (December 10, 2018)
|
||||
|
@ -108,7 +108,7 @@ class DashboardStreamAction extends ActivityStreamAction
|
||||
// Automatic include user profile posts without required following
|
||||
if ($dashboardModule->autoIncludeProfilePosts == Module::STREAM_AUTO_INCLUDE_PROFILE_POSTS_ALWAYS || (
|
||||
$dashboardModule->autoIncludeProfilePosts == Module::STREAM_AUTO_INCLUDE_PROFILE_POSTS_ADMIN_ONLY && Yii::$app->user->isAdmin())) {
|
||||
$allUsers = (new Query())->select(["allusers.id"])->from('user allusers');
|
||||
$allUsers = (new Query())->select(["allusers.contentcontainer_id"])->from('user allusers');
|
||||
$union .= " UNION " . Yii::$app->db->getQueryBuilder()->build($allUsers)[0];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user