From: Jean-Marc Pigeon Date: Mon, 24 Nov 2025 15:03:00 +0000 (-0500) Subject: Working on release question X-Git-Tag: tag-0.18~15 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=e3a721d9c784e31c1553dd0c78fb766561c569c4;p=jmp%2Fmailleur Working on release question --- diff --git a/www/gessql.php b/www/gessql.php index cf60f6a..a23204b 100644 --- a/www/gessql.php +++ b/www/gessql.php @@ -120,7 +120,8 @@ class probe { */ public function goNext(): int { - if ($this->limit !== null) { + if ($this->limit !== null) { + $last=max($this->getnumrec(),$this->limit); $this->offset = min($last-$this->limit,$this->offset+$this->limit); }