From dd7a905e8b717aa4319d225fc1f23afbe262ec92 Mon Sep 17 00:00:00 2001 From: LlmDl Date: Wed, 7 Feb 2024 15:04:33 -0600 Subject: [PATCH] Update get_sponsors.php Fix round to ciel, change 50 per page to the 54 that is actually sent. --- .github/workflows/prerelease/get_sponsors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prerelease/get_sponsors.php b/.github/workflows/prerelease/get_sponsors.php index 81f7254ffe..50695eeaff 100644 --- a/.github/workflows/prerelease/get_sponsors.php +++ b/.github/workflows/prerelease/get_sponsors.php @@ -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();