mirror of
https://github.com/msikma/pokesprite.git
synced 2026-09-07 18:05:10 -05:00
Fix pkmn-range argument 0
This commit is contained in:
@@ -381,6 +381,7 @@ class IconStack
|
||||
if (isset($range)) {
|
||||
$range = str_replace(',', '-', $range);
|
||||
$range = explode('-', $range);
|
||||
$range[0] = $range[0] === '0' ? 1 : $range[0];
|
||||
if ($range[1] <= $range[0]) {
|
||||
$range[1] = $range[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user