Skip to content

Commit

Permalink
Fixed the paging. Now the argument indicates what the first post is. …
Browse files Browse the repository at this point in the history
…1-indexed.
  • Loading branch information
Dykam committed Apr 21, 2010
1 parent 851e01f commit f2be59d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions applications/vanilla/controllers/discussions.php
Expand Up @@ -25,6 +25,7 @@ public function Index($Offset = '0') {
$this->Head->AddRss('/rss/'.$this->SelfUrl, $this->Head->Title());
$this->Head->Title(T('All Discussions'));
}
$Offset--;
if (!is_numeric($Offset) || $Offset < 0)
$Offset = 0;

Expand Down

0 comments on commit f2be59d

Please sign in to comment.