Commit cce1ff1b authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1796523: Fixing objectionable report when selected users are in play



behatnotneeded

Change-Id: I8d8ca9066e14256cee23ec40ed5ca7174a944d36
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 6335ed9c
...@@ -3211,7 +3211,7 @@ function objectionable_stats_table($limit, $offset, $extra, $institution, $urlli ...@@ -3211,7 +3211,7 @@ function objectionable_stats_table($limit, $offset, $extra, $institution, $urlli
} }
} }
if ($users) { if ($users) {
$wheresql .= " AND (u.id IN (" . join(',', array_map('db_quote', array_values((array)$users))) . ")"; $wheresql .= " AND u.id IN (" . join(',', array_map('db_quote', array_values((array)$users))) . ")";
} }
if ($start) { if ($start) {
$wheresql .= " AND obj.reportedtime >= DATE(?) AND obj.reportedtime <= DATE(?)"; $wheresql .= " AND obj.reportedtime >= DATE(?) AND obj.reportedtime <= DATE(?)";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment