1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Fix variable name

@ thanks to mazzanet
This commit is contained in:
Mehdi Achour
2007-02-11 10:04:49 +00:00
parent 44bd5b2a20
commit 20394da5ff

View File

@@ -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.";
}