...and the other bit
This commit is contained in:
parent
e2a725ff98
commit
ab2b3304dc
1 changed files with 1 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -443,7 +443,7 @@ if(! class_exists('App')) {
|
||||||
$this->pager['itemspage'] = 50;
|
$this->pager['itemspage'] = 50;
|
||||||
$this->pager['start'] = ($this->pager['page'] * $this->pager['itemspage']) - $this->pager['itemspage'];
|
$this->pager['start'] = ($this->pager['page'] * $this->pager['itemspage']) - $this->pager['itemspage'];
|
||||||
if($this->pager['start'] < 0)
|
if($this->pager['start'] < 0)
|
||||||
$this->pager['start'] = 1;
|
$this->pager['start'] = 0;
|
||||||
$this->pager['total'] = 0;
|
$this->pager['total'] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue