More claims fix #91

Merged
akinwale merged 8 commits from more-content-fix into master 2020-10-28 15:57:26 +01:00
Showing only changes of commit f08049dc5c - Show all commits

View file

@ -227,8 +227,6 @@ class MainController extends AppController {
if (isset($claim->publisher) && $claim->publisher_id !== 'f2cf43b86b9d70175dc22dbb9ff7806241d90780') { // prevent ORDER BY for this particular claim
$moreClaimsQuery = $moreClaimsQuery->order(['Claims.fee' => 'DESC', 'RAND()' => 'DESC']);
$moreClaims = $moreClaimsQuery->toArray();
} else {
$moreClaims = [];
}
for ($i = 0; $i < count($moreClaims); $i++) {
if ($canConvert && $moreClaims[$i]->fee > 0 && $moreClaims[$i]->fee_currency == 'USD') {