Skip to content

Commit 44dd97b

Browse files
committed
[CHANGE] Find max ID first
1 parent 14eb0f5 commit 44dd97b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/classes/share.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ function getMaxArchiveShareId() {
129129
* return array data Returns an array with usernames as keys for easy access
130130
**/
131131
function getArchiveShares($iCount) {
132-
$iMinId = $this->getMinArchiveShareId($iCount);
133132
$iMaxId = $this->getMaxArchiveShareId();
133+
$iMinId = $this->getMinArchiveShareId($iCount);
134134
$stmt = $this->mysqli->prepare("
135135
SELECT
136136
a.id,

0 commit comments

Comments
 (0)