Browse code

Fix valid_url failure

Jaidyn Lev authored on 2018-10-10 01:13:00
Showing 1 changed files
... ...
@@ -69,7 +69,7 @@ function redirect($url)
69 69
 // 	Return whether or not a URL is a valid one.
70 70
 function valid_url($url)
71 71
 {
72
-	return filter_var($url_target, FILTER_VALIDATE_URL);
72
+	return filter_var($url, FILTER_VALIDATE_URL);
73 73
 }
74 74
 
75 75
 ?>