diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-11-28 14:17:34 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-11-28 14:17:34 -0100 |
commit | 107c49d1412fee86bb30d03fd3e65aebc2de38f4 (patch) | |
tree | 81c1f76a935e0c0c64a91018ec6c76321034704f /lib/Db | |
parent | fdadd51c621b6426d0bf8df5810baaf70e00c582 (diff) | |
parent | a3a2ac6dcc8580da036ff55b6de9b5659c4fb9bb (diff) |
Merge branch 'fix-documents-notcached'
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Db')
-rw-r--r-- | lib/Db/CacheDocumentsRequest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Db/CacheDocumentsRequest.php b/lib/Db/CacheDocumentsRequest.php index 6c7f7b68..d71a113f 100644 --- a/lib/Db/CacheDocumentsRequest.php +++ b/lib/Db/CacheDocumentsRequest.php @@ -150,7 +150,8 @@ class CacheDocumentsRequest extends CacheDocumentsRequestBuilder { $qb = $this->getCacheDocumentsSelectSql(); $this->limitToDBFieldEmpty($qb, 'local_copy'); $this->limitToCaching($qb, self::CACHE_TTL); - + $this->limitToDBFieldInt($qb, 'error', 0); + $documents = []; $cursor = $qb->execute(); while ($data = $cursor->fetch()) { |