From: Aaron Schulz Date: Sat, 23 Aug 2008 01:26:06 +0000 (+0000) Subject: should be <=, not < X-Git-Tag: 1.31.0-rc.0~45706 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=ecf54a307315a7073132b2a2dcbef36367629e06;p=lhc%2Fweb%2Fwiklou.git should be <=, not < --- diff --git a/includes/HTMLCacheUpdate.php b/includes/HTMLCacheUpdate.php index eab082c109..83086dad10 100644 --- a/includes/HTMLCacheUpdate.php +++ b/includes/HTMLCacheUpdate.php @@ -60,7 +60,7 @@ class HTMLCacheUpdate $start = false; $jobs = array(); do { - for ( $i = 0; $i < $realBatchSize - 1; $i++ ) { + for ( $i = 0; $i <= $realBatchSize - 1; $i++ ) { $row = $res->fetchRow(); if ( $row ) { $id = $row[0];