aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_front.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2011-02-24 23:51:42 +0100
committerJoas Schilling <nickvergessen@gmx.de>2011-02-25 00:04:48 +0100
commita25238e0c16ba238136475bb1dcc17472fedfffa (patch)
treed98de4e515fe5cbf94d5425863849978e90d7078 /phpBB/includes/mcp/mcp_front.php
parent5e2bbdb22b82102c9bb2a1f040ad2755e545941e (diff)
downloadforums-a25238e0c16ba238136475bb1dcc17472fedfffa.tar
forums-a25238e0c16ba238136475bb1dcc17472fedfffa.tar.gz
forums-a25238e0c16ba238136475bb1dcc17472fedfffa.tar.bz2
forums-a25238e0c16ba238136475bb1dcc17472fedfffa.tar.xz
forums-a25238e0c16ba238136475bb1dcc17472fedfffa.zip
[ticket/9874] view_log() performs unneeded count query over all log entries.
PHPBB3-9874
Diffstat (limited to 'phpBB/includes/mcp/mcp_front.php')
-rw-r--r--phpBB/includes/mcp/mcp_front.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_front.php b/phpBB/includes/mcp/mcp_front.php
index 50e14b9336..af262baa29 100644
--- a/phpBB/includes/mcp/mcp_front.php
+++ b/phpBB/includes/mcp/mcp_front.php
@@ -350,7 +350,7 @@ function mcp_front_view($id, $mode, $action)
// Add forum_id 0 for global announcements
$forum_list[] = 0;
- $log_count = 0;
+ $log_count = false;
$log = array();
view_log('mod', $log, $log_count, 5, 0, $forum_list);