Merge pull request #69 from TheSerapher/issue-66
addressing #66 with higher timerange for upstream shares
This commit is contained in:
commit
658039fecf
@ -125,7 +125,7 @@ class Share {
|
||||
SUBSTRING_INDEX( `username` , '.', 1 ) AS account, id
|
||||
FROM $this->table
|
||||
WHERE upstream_result = 'Y'
|
||||
AND UNIX_TIMESTAMP(time) BETWEEN ? AND (? + 5)
|
||||
AND UNIX_TIMESTAMP(time) BETWEEN (? - 5) AND (? + 5)
|
||||
ORDER BY id ASC LIMIT 1");
|
||||
if ($this->checkStmt($stmt)) {
|
||||
$stmt->bind_param('ii', $time, $time);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user