[CHANGE] Find max ID first

This commit is contained in:
Sebastian Grewe 2014-06-15 16:01:31 +02:00
parent 14eb0f56fc
commit 44dd97b2cb

View File

@ -129,8 +129,8 @@ class Share Extends Base {
* return array data Returns an array with usernames as keys for easy access
**/
function getArchiveShares($iCount) {
$iMinId = $this->getMinArchiveShareId($iCount);
$iMaxId = $this->getMaxArchiveShareId();
$iMinId = $this->getMinArchiveShareId($iCount);
$stmt = $this->mysqli->prepare("
SELECT
a.id,