aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-04-08 14:30:46 +0000
committerNils Adermann <naderman@naderman.de>2006-04-08 14:30:46 +0000
commitc5b203b485c3ea805d54bb05629db1888f37438e (patch)
tree26571644c34ba3a650381ef5ea995758128893a4 /phpBB/mcp.php
parentfc167b2e42e4bd0f13b4057978180917ec30960d (diff)
downloadforums-c5b203b485c3ea805d54bb05629db1888f37438e.tar
forums-c5b203b485c3ea805d54bb05629db1888f37438e.tar.gz
forums-c5b203b485c3ea805d54bb05629db1888f37438e.tar.bz2
forums-c5b203b485c3ea805d54bb05629db1888f37438e.tar.xz
forums-c5b203b485c3ea805d54bb05629db1888f37438e.zip
- allow reporting posts that have a closed report
- show multiple reports for one post correctly - Bug #1389 git-svn-id: file:///svn/phpbb/trunk@5771 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index 54a1912149..1060e0c8fc 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -401,11 +401,11 @@ function mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by_sql,
if ($mode == 'reports')
{
- $where_sql .= 'AND r.report_closed = 0';
+ $where_sql .= ' AND r.report_closed = 0';
}
else
{
- $where_sql .= 'AND r.report_closed = 1';
+ $where_sql .= ' AND r.report_closed = 1';
}
$sql = 'SELECT COUNT(r.report_id) AS total