Fix valid_url failure
This commit is contained in:
parent
15a8d83250
commit
8b6d964d9d
|
@ -69,7 +69,7 @@ function redirect($url)
|
||||||
// Return whether or not a URL is a valid one.
|
// Return whether or not a URL is a valid one.
|
||||||
function valid_url($url)
|
function valid_url($url)
|
||||||
{
|
{
|
||||||
return filter_var($url_target, FILTER_VALIDATE_URL);
|
return filter_var($url, FILTER_VALIDATE_URL);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Ŝarĝante…
Reference in New Issue