From 20394da5ff41db8a6151a84cb2056cdccf5a1d34 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Sun, 11 Feb 2007 10:04:49 +0000 Subject: [PATCH] Fix variable name @ thanks to mazzanet --- submit-event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submit-event.php b/submit-event.php index 8aadc2a4e..b6ea42f03 100644 --- a/submit-event.php +++ b/submit-event.php @@ -62,7 +62,7 @@ if ($process) { if (!$_POST['url']) { $errors[] = "You must supply a URL with more information about the event."; } - elseif (!in_array($pu['scheme'], $schemes) || empty(trim($pu['host']))) { + elseif (!in_array($pu['scheme'], $valid_schemes) || empty(trim($pu['host']))) { $errors[] = "The URL you supplied was invalid."; }