Browse Source

Final fix before release

pull/255/head
Danang Probo Sayekti 10 years ago
parent
commit
781c7d27f0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      system/htmly.php

+ 4
- 0
system/htmly.php View File

@ -1301,6 +1301,10 @@ get('/category/:category', function ($category) {
$page = from($_GET, 'page'); $page = from($_GET, 'page');
$page = $page ? (int)$page : 1; $page = $page ? (int)$page : 1;
$perpage = config('category.perpage'); $perpage = config('category.perpage');
if (empty($perpage)) {
$perpage = 10;
}
$posts = get_category($category, $page, $perpage); $posts = get_category($category, $page, $perpage);


Loading…
Cancel
Save