fix potential warning

This commit is contained in:
ghost 2023-06-01 00:37:05 +03:00
parent 5f884e14d4
commit c0ada5d1c6

View File

@ -54,7 +54,9 @@
if (!isset($variant[$version])) return rand($padding, 100 - $padding); // :)
$position = $variant[$version++];
$position = $variant[$version];
$version++;
} while ($position < $padding || $position > 100 - $padding);