From 4867cf695b360f525415e2a851c9f005e5b0a2d7 Mon Sep 17 00:00:00 2001 From: ninjasoturi <52629375+Ninjasoturi@users.noreply.github.com> Date: Wed, 17 Apr 2024 20:30:23 +0300 Subject: [PATCH] Maybe fixed the hidden gyms menu --- logic/gymMenu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/gymMenu.php b/logic/gymMenu.php index 77336070..f97ab654 100644 --- a/logic/gymMenu.php +++ b/logic/gymMenu.php @@ -187,7 +187,7 @@ function createGymKeys($buttonAction, $showHidden, $gymareaId, $gymareaQuery, $s ); while ($gym = $rs->fetch()) { // Add first letter to keys array - $keys[] = button($gym['first_letter'], ['gymMenu', 'a' => $buttonAction, 'stage' => $stage+1, 'fl' => $gym['first_letter'], 'ga' => $gymareaId]); + $keys[] = button($gym['first_letter'], ['gymMenu', 'a' => $buttonAction, 'stage' => $stage+1, 'fl' => $gym['first_letter'], 'h' => $showHidden, 'ga' => $gymareaId]); } // Get the inline key array.