Fix valid_url failure

This commit is contained in:
Jaidyn Lev 2018-10-09 20:13:00 -05:00
parent 15a8d83250
commit 8b6d964d9d

View File

@ -69,7 +69,7 @@ function redirect($url)
// Return whether or not a URL is a valid one.
function valid_url($url)
{
return filter_var($url_target, FILTER_VALIDATE_URL);
return filter_var($url, FILTER_VALIDATE_URL);
}
?>