Summary/Fixup

* allow signed integers (random enchantments) in summary definition
This commit is contained in:
Sarjuuk
2025-10-12 18:07:01 +02:00
parent 034eca1f58
commit 816eacaf73

View File

@@ -106,7 +106,7 @@ class CompareBaseResponse extends TemplateResponse
protected static function checkCompareString(string $val) : string protected static function checkCompareString(string $val) : string
{ {
$val = urldecode($val); $val = urldecode($val);
if (preg_match('/[^\d\.:;]/', $val)) if (preg_match('/[^-?\d\.:;]/', $val))
return ''; return '';
return $val; return $val;