diff --git a/resources/library/urls.php b/resources/library/urls.php index 9b7b479..50308fa 100644 --- a/resources/library/urls.php +++ b/resources/library/urls.php @@ -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); } ?>