Skip to content

Commit

Permalink
Update get_sponsors.php
Browse files Browse the repository at this point in the history
Fix round to ciel, change 50 per page to the 54 that is actually sent.
  • Loading branch information
LlmDl authored Feb 7, 2024
1 parent 9dcee47 commit dd7a905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prerelease/get_sponsors.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
$totalSponsors = $node->textContent;
$res = preg_replace("/[^0-9]/", "", $totalSponsors );
$totalSponsorCount = intval($res);
$totalPages = round($totalSponsorCount / 50);
$totalPages = ceil($totalSponsorCount / 54);
$publicSponsorCount = 0;
$testarray = array();

Expand Down

0 comments on commit dd7a905

Please sign in to comment.