diff --git a/root/includes/acp/acp_reputation.php b/root/includes/acp/acp_reputation.php index 615fb78..1bf1137 100644 --- a/root/includes/acp/acp_reputation.php +++ b/root/includes/acp/acp_reputation.php @@ -311,8 +311,8 @@ function main($id, $mode) $sql = 'SELECT SUM(point) AS total_points, rep_to FROM ' . REPUTATIONS_TABLE . ' WHERE action != 5 - AND rep_to >= ' . ($start + 1) . ' - AND rep_to <= ' . ($start + $this->step) . ' + AND rep_id >= ' . ($start + 1) . ' + AND rep_id <= ' . ($start + $this->step) . ' GROUP BY rep_to'; $result = $db->sql_query($sql);