diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-31 17:04:36 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-31 17:04:36 -0400 |
| commit | 3a8736cdc0a047e19eaffb4eb82bbf560906ea7f (patch) | |
| tree | 6f037544d9eed187975ffef17c4b5bb2ae02f534 | |
| parent | c2a287cd142b4ba0940c3026af98d4ff949469de (diff) | |
Fix last commit
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index 95487529..7826d41b 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -995,7 +995,7 @@ function index($page, $mod=false) { $query->bindValue(':threads_per_page', $config['threads_per_page'], PDO::PARAM_INT); $query->execute() or error(db_error($query)); - if ($page == 1 && $query->rowCount() <= $config['threads_per_page']) + if ($page == 1 && $query->rowCount() < $config['threads_per_page']) $board['thread_count'] = $query->rowCount(); if ($query->rowCount() < 1 && $page > 1) |
