diff options
author | friendica <info@friendica.com> | 2012-06-28 21:39:02 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-28 21:39:02 -0700 |
commit | 7b63e5792add647ad2156d81c52f40a33e0faef6 (patch) | |
tree | 812fd27fa1645b37e78bb16e1006304587f456e1 /boot.php | |
parent | 43036bee98ffddbd396379f12a3ca87b9da461a7 (diff) | |
download | volse-hubzilla-7b63e5792add647ad2156d81c52f40a33e0faef6.tar.gz volse-hubzilla-7b63e5792add647ad2156d81c52f40a33e0faef6.tar.bz2 volse-hubzilla-7b63e5792add647ad2156d81c52f40a33e0faef6.zip |
more pager limits
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -434,6 +434,8 @@ 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) + $this->pager['start'] = 1; $this->pager['total'] = 0; } |