From d7c5a410bf4703d229c85e3836d8bfe1c04da094 Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Tue, 17 Aug 2010 08:08:23 +0000 Subject: [PATCH] should fix bug with 404: always returning true for non-existing entries --- fp-includes/core/core.fpdb.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fp-includes/core/core.fpdb.class.php b/fp-includes/core/core.fpdb.class.php index 07b768e..2a928ec 100644 --- a/fp-includes/core/core.fpdb.class.php +++ b/fp-includes/core/core.fpdb.class.php @@ -367,7 +367,8 @@ if ($this->counter < 0) $this->prepare(); - + + if ($this->pointer == $this->params->start + $this->params->count) return $return; if ($qp->id) { $idx = $this->main_idx;