error must be 0

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/69/head
Maxence Lange 2018-11-28 14:17:23 -01:00
rodzic fdadd51c62
commit a3a2ac6dcc
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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()) {