Skip to content

Commit

Permalink
Fixed gym letter 0 not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninjasoturi committed Apr 26, 2024
1 parent 0807150 commit 8caa37c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic/key_util.php
Original file line number Diff line number Diff line change
Expand Up @@ -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, '|');
Expand Down

0 comments on commit 8caa37c

Please sign in to comment.