mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
fix undefined variable
This commit is contained in:
parent
43c617e893
commit
a94ec250ff
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue