cvs: phpweb / submit-event.php

From: Date: Sun, 11 Feb 2007 10:04:49 +0000
Subject: cvs: phpweb / submit-event.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-34223@lists.php.net to get a copy of this message
didou Sun Feb 11 10:04:49 2007 UTC Modified files: /phpweb submit-event.php Log: Fix variable name @ thanks to mazzanet http://cvs.php.net/viewvc.cgi/phpweb/submit-event.php?r1=1.32&r2=1.33&diff_format=u Index: phpweb/submit-event.php diff -u phpweb/submit-event.php:1.32 phpweb/submit-event.php:1.33 --- phpweb/submit-event.php:1.32 Sun Feb 11 06:55:53 2007 +++ phpweb/submit-event.php Sun Feb 11 10:04:49 2007 @@ -1,5 +1,5 @@ <?php -// $Id: submit-event.php,v 1.32 2007/02/11 06:55:53 rasmus Exp $ +// $Id: submit-event.php,v 1.33 2007/02/11 10:04:49 didou Exp $ $_SERVER['BASE_PAGE'] = 'submit-event.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/posttohost.inc'; @@ -62,7 +62,7 @@ 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."; }

« previous php.mirrors (#34223) next »