r10671 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r10670‎ | r10671 | r10672 >
Date:17:22, 20 August 2005
Author:nikerabbit
Status:old
Tags:
Comment:
This seems to fix go=first, don't know why
Modified paths:
  • /trunk/phase3/includes/SpecialContributions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialContributions.php
@@ -105,7 +105,7 @@
106106 "rev_user_text = " . $this->dbr->addQuotes($this->username)
107107 . $nscond;
108108 $sql .= " ORDER BY rev_timestamp ASC";
109 - $sql = $this->dbr->limitResult($sql, $this->limit + 1, 0);
 109+ $sql = $this->dbr->limitResult($sql, $this->limit, 0);
110110 $res = $this->dbr->query($sql);
111111 $rows = array();
112112 while ($obj = $this->dbr->fetchObject($res))

Status & tagging log