mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
Fix: StreamSuppressedQuery with limit = 2 throws query not executed exception
This commit is contained in:
parent
a5700636b0
commit
3515c6c9c6
@ -1,7 +1,10 @@
|
||||
HumHub Change Log
|
||||
=================
|
||||
|
||||
1.3.9
|
||||
---------------------------
|
||||
|
||||
- Fix: StreamSuppressedQuery with limit = 2 throws query not executed exception
|
||||
|
||||
1.3.8 (December 10, 2018)
|
||||
---------------------------
|
||||
|
@ -87,6 +87,7 @@ class StreamSuppressQuery extends StreamQuery
|
||||
{
|
||||
// Only suppress on 3 or more contents to deliever
|
||||
if ($this->limit < 3 || $this->isSingleContentQuery()) {
|
||||
$this->isQueryExecuted = true;
|
||||
return parent::all();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user