[CHANGE] Find max ID first
This commit is contained in:
parent
14eb0f56fc
commit
44dd97b2cb
@ -129,8 +129,8 @@ class Share Extends Base {
|
|||||||
* return array data Returns an array with usernames as keys for easy access
|
* return array data Returns an array with usernames as keys for easy access
|
||||||
**/
|
**/
|
||||||
function getArchiveShares($iCount) {
|
function getArchiveShares($iCount) {
|
||||||
$iMinId = $this->getMinArchiveShareId($iCount);
|
|
||||||
$iMaxId = $this->getMaxArchiveShareId();
|
$iMaxId = $this->getMaxArchiveShareId();
|
||||||
|
$iMinId = $this->getMinArchiveShareId($iCount);
|
||||||
$stmt = $this->mysqli->prepare("
|
$stmt = $this->mysqli->prepare("
|
||||||
SELECT
|
SELECT
|
||||||
a.id,
|
a.id,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user