svn: /web/php/trunk/ svn-php.php
| From: | Philip Olson | Date: | Thu, 09 Jun 2011 14:10:38 +0000 |
| Subject: | svn: /web/php/trunk/ svn-php.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11163@lists.php.net to get a copy of this message | ||
philip Thu, 09 Jun 2011 14:10:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=311976
Log:
Added requirement to choose a group. Defaults to 'Choose One'
Changed paths:
U web/php/trunk/svn-php.php
Modified: web/php/trunk/svn-php.php
===================================================================
--- web/php/trunk/svn-php.php 2011-06-09 13:09:25 UTC (rev 311975)
+++ web/php/trunk/svn-php.php 2011-06-09 14:10:38 UTC (rev 311976)
@@ -23,6 +23,7 @@
site_header("Using SVN for PHP Development", array("current" =>
"FIXME"));
$groups = array(
+ "none" => "Choose One",
"php" => "PHP Group",
"pear" => "PEAR Group",
"pecl" => "PECL Group",
@@ -72,7 +73,7 @@
if (empty($_POST['yesno']) || $_POST['yesno'] != 'yes') {
$error .= "You did not fill the form out correctly. <br />";
}
- if (empty($_POST['group']) || !isset($groups[$_POST['group']])) {
+ if (empty($_POST['group']) || $_POST['group'] === 'none' ||
!isset($groups[$_POST['group']])) {
$error .= "You did not fill out where to send the request. <br />";
}
if (!isset($_POST['guidelines']) || !$_POST['guidelines']) {