aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-03-27 12:48:29 +0000
committerNils Adermann <naderman@naderman.de>2006-03-27 12:48:29 +0000
commite7140d658d6bd37023eca51d6d01207a34fe2d0e (patch)
tree8955a72e55c25fc4e230ad1f3391ee411a8ec101 /phpBB/mcp.php
parent19b5f17ff8335dc86a25bf97e689723937dc685f (diff)
downloadforums-e7140d658d6bd37023eca51d6d01207a34fe2d0e.tar
forums-e7140d658d6bd37023eca51d6d01207a34fe2d0e.tar.gz
forums-e7140d658d6bd37023eca51d6d01207a34fe2d0e.tar.bz2
forums-e7140d658d6bd37023eca51d6d01207a34fe2d0e.tar.xz
forums-e7140d658d6bd37023eca51d6d01207a34fe2d0e.zip
- add missing pagination to queue/reports
- hide the close button on closed reports page - fix a JS bug in mcp/acp ban view git-svn-id: file:///svn/phpbb/trunk@5733 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index 46a263518e..0ef50378c9 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -477,7 +477,7 @@ function mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by_sql,
'S_SELECT_SORT_DAYS'=> $s_limit_days)
);
- if (($sort_days && $mode != 'viewlogs') || $mode == 'reports' || $where_sql != 'WHERE')
+ if (($sort_days && $mode != 'viewlogs') || in_array($mode, array('reports', 'unapproved_topics', 'unapproved_posts')) || $where_sql != 'WHERE')
{
$result = $db->sql_query($sql);
$total = ($row = $db->sql_fetchrow($result)) ? $row['total'] : 0;