From 8caa37cce39e7598f207af8f23f86850d811886f Mon Sep 17 00:00:00 2001 From: ninjasoturi <52629375+Ninjasoturi@users.noreply.github.com> Date: Fri, 26 Apr 2024 20:44:10 +0300 Subject: [PATCH] Fixed gym letter 0 not working --- logic/key_util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/key_util.php b/logic/key_util.php index 775eeabb..9fe14a68 100644 --- a/logic/key_util.php +++ b/logic/key_util.php @@ -141,7 +141,7 @@ function formatCallbackData($array) $return = $array[0] . '|'; unset($array[0]); foreach($array as $key => $value) { - if($value !== 0 && (empty($value) or $value === false)) continue; + if($value !== 0 && (!isset($value) or $value === false)) continue; $return .= $key . '=' . $value . '|'; } return rtrim($return, '|');