From: Niklas Laxström Date: Sat, 20 Aug 2005 17:22:15 +0000 (+0000) Subject: This seems to fix go=first, don't know why X-Git-Tag: 1.6.0~1861 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=7853a662d928d87d45209a2a73450dcf9bbe3851;p=lhc%2Fweb%2Fwiklou.git This seems to fix go=first, don't know why --- diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index 93ff7b18f3..dede621098 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -105,7 +105,7 @@ class contribs_finder { "rev_user_text = " . $this->dbr->addQuotes($this->username) . $nscond; $sql .= " ORDER BY rev_timestamp ASC"; - $sql = $this->dbr->limitResult($sql, $this->limit + 1, 0); + $sql = $this->dbr->limitResult($sql, $this->limit, 0); $res = $this->dbr->query($sql); $rows = array(); while ($obj = $this->dbr->fetchObject($res))