mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
r261
Фикс pagination в группах git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@261 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
c62eeab13b
commit
30170a63c8
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ $bb_cfg['css_ver'] = 1;
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.1 Stable';
|
||||
$bb_cfg['tp_release_state'] = 'R260';
|
||||
$bb_cfg['tp_release_state'] = 'R261';
|
||||
$bb_cfg['tp_release_date'] = '28-08-2011';
|
||||
|
||||
$bb_cfg['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger
|
||||
|
|
|
@ -1732,7 +1732,7 @@ function generate_pagination($base_url, $num_items, $per_page, $start_item, $add
|
|||
|
||||
$total_pages = ceil($num_items/$per_page);
|
||||
|
||||
if ( $total_pages == 1 )
|
||||
if ( $total_pages == 1 || $num_items == 0 )
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue