Update share.class.php

This commit is contained in:
obigal 2013-07-03 09:42:23 -04:00 committed by Sebastian Grewe
parent 53da013fab
commit 84e22ae4a9

View File

@ -277,7 +277,7 @@ class Share {
SUBSTRING_INDEX( `username` , '.', 1 ) AS account, id
FROM $this->table
WHERE upstream_result = 'Y'
AND UNIX_TIMESTAMP(time) BETWEEN (?) AND (? + 20)
AND UNIX_TIMESTAMP(time) >= ?
AND id > ?
AND UNIX_TIMESTAMP(time) >= ?
AND UNIX_TIMESTAMP(time) <= ( ? + 60 )