mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix emulate execution on check readable content (#6251)
* Fix emulate execution on check readable content * Update CHANGELOG.md --------- Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
This commit is contained in:
parent
e79a976369
commit
602cf23f95
@ -1,6 +1,10 @@
|
||||
HumHub Changelog
|
||||
================
|
||||
|
||||
1.14.1 (Unreleased)
|
||||
-------------------
|
||||
- Fix #6251: Emulate execution on `readable()` content
|
||||
|
||||
1.14.0 (April 20, 2023)
|
||||
-----------------------
|
||||
- Fix #6196: Use class names for default logging targets in default common config
|
||||
|
@ -113,7 +113,7 @@ class ActiveQueryContent extends ActiveQuery
|
||||
$conditionUser = 'cuser.id IS NOT NULL and cuser.visibility=' . User::VISIBILITY_ALL . ' AND content.visibility=1';
|
||||
$globalCondition .= 'content.contentcontainer_id IS NULL AND content.visibility=1';
|
||||
} else {
|
||||
$this->emulateExecution();
|
||||
return $this->emulateExecution();
|
||||
}
|
||||
|
||||
$this->andWhere("{$conditionSpace} OR {$conditionUser} OR {$globalCondition}");
|
||||
|
Loading…
x
Reference in New Issue
Block a user