Revize 1035
Přidáno uživatelem Michal Kliment před více než 13 roky(ů)
freenetis/branches/testing/application/controllers/search.php | ||
---|---|---|
$from = ($page -1) * $limit_results;
|
||
$to = $page * $limit_results;
|
||
|
||
if ($to > count($this->results))
|
||
if ($to >= count($this->results))
|
||
$to = count($this->results)-1;
|
||
|
||
$view = new View('main');
|
Také k dispozici: Unified diff
Oprava mensi chybicky u vyhledavani.