mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-24 13:44:20 +00:00
fix undefined variable
This commit is contained in:
parent
43c617e893
commit
a94ec250ff
@ -27,7 +27,7 @@ class Valid
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!preg_match(YGGDRASIL_HOST_REGEX, str_replace(['[',']'], false, $url->host->name)))
|
||||
if (!preg_match(YGGDRASIL_HOST_REGEX, str_replace(['[',']'], false, $value)))
|
||||
{
|
||||
array_push(
|
||||
self::$_error,
|
||||
|
Loading…
x
Reference in New Issue
Block a user