Moderator options

This commit is contained in:
lopar 2018-11-01 02:13:07 +02:00
parent 4d85f92454
commit 71db494365
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ if (isset($_GET['do']) && $isModerator == true) {
$pgs = db::c()->query('SELECT count(`id`) FROM `forum` WHERE `parent` = ?i ORDER BY `fix` DESC, `updated` DESC', $_GET['conf'])->fetch_row();
$pgs = $pgs[0] / 20;
$pages_str = '';
$page = !empty((int)$_GET['page']) ? (((int)$_GET['page'] + 1) > $pgs ? ($pgs - 1) : (int)$_GET['page']) : 0;
$page = (!empty((int)$_GET['page'])) ? (((int)$_GET['page'] + 1) > $pgs ? ($pgs - 1) : (int)$_GET['page']) : 0;
$page = ceil($page);
?>
<td rowspan="2" style="padding-left: 10px">