aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2012-07-02 03:41:27 +0100
committerThomas Willingham <founder@kakste.com>2012-07-02 03:41:27 +0100
commit610c78f9e0da9700a3fa3563c560c5dc119aebb8 (patch)
treefeff690c73da49ec34f13bb6c933ee1be8a2c38a /boot.php
parent74a819980fad6d79998a70b0f6be44803db7e0c7 (diff)
parentab2b3304dc7c30f65297d398661b1eccb2723685 (diff)
downloadvolse-hubzilla-610c78f9e0da9700a3fa3563c560c5dc119aebb8.tar.gz
volse-hubzilla-610c78f9e0da9700a3fa3563c560c5dc119aebb8.tar.bz2
volse-hubzilla-610c78f9e0da9700a3fa3563c560c5dc119aebb8.zip
Merge branch 'master' of https://github.com/friendica/friendica
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index b9272c9a6..63e4265d9 100644
--- a/boot.php
+++ b/boot.php
@@ -10,7 +10,7 @@ require_once('include/nav.php');
require_once('include/cache.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
-define ( 'FRIENDICA_VERSION', '3.0.1390' );
+define ( 'FRIENDICA_VERSION', '3.0.1391' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
define ( 'DB_UPDATE_VERSION', 1151 );
@@ -442,8 +442,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;
+ if($this->pager['start'] < 0)
+ $this->pager['start'] = 0;
$this->pager['total'] = 0;
}