From e3a721d9c784e31c1553dd0c78fb766561c569c4 Mon Sep 17 00:00:00 2001 From: Jean-Marc Pigeon Date: Mon, 24 Nov 2025 10:03:00 -0500 Subject: [PATCH] Working on release question --- www/gessql.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.47.3