From 8b6d964d9dde4d82e375b73fee5ea0251042ec50 Mon Sep 17 00:00:00 2001 From: Jaidyn Lev Date: Tue, 9 Oct 2018 20:13:00 -0500 Subject: [PATCH] Fix valid_url failure --- resources/library/urls.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } ?>