diff options
author | friendica <info@friendica.com> | 2012-07-01 19:17:21 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-07-01 19:17:21 -0700 |
commit | e2a725ff986f80e45dac842db51fcc007a9683d9 (patch) | |
tree | d3132f7b510e7af91ea2f2d4a89616804423389f /boot.php | |
parent | dd71f9446b05274550ebcb3ce4773762832084e3 (diff) | |
download | volse-hubzilla-e2a725ff986f80e45dac842db51fcc007a9683d9.tar.gz volse-hubzilla-e2a725ff986f80e45dac842db51fcc007a9683d9.tar.bz2 volse-hubzilla-e2a725ff986f80e45dac842db51fcc007a9683d9.zip |
pagination start off by one
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -442,7 +442,7 @@ if(! class_exists('App')) { $this->pager['page'] = ((x($_GET,'page') && intval($_GET['page']) > 0) ? intval($_GET['page']) : 1); $this->pager['itemspage'] = 50; $this->pager['start'] = ($this->pager['page'] * $this->pager['itemspage']) - $this->pager['itemspage']; - if($this->pager['start'] < 1) + if($this->pager['start'] < 0) $this->pager['start'] = 1; $this->pager['total'] = 0; } |