cvs: phpweb / submit-event.php
| From: | Hannes Magnusson | Date: | Thu, 16 Apr 2009 14:15:52 +0000 |
| Subject: | cvs: phpweb / submit-event.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-4457@lists.php.net to get a copy of this message | ||
bjori Thu Apr 16 14:15:52 2009 UTC
Modified files:
/phpweb submit-event.php
Log:
Whoopsy, it takes the index, not the value
http://cvs.php.net/viewvc.cgi/phpweb/submit-event.php?r1=1.39&r2=1.40&diff_format=u
Index: phpweb/submit-event.php
diff -u phpweb/submit-event.php:1.39 phpweb/submit-event.php:1.40
--- phpweb/submit-event.php:1.39 Thu Apr 16 14:13:03 2009
+++ phpweb/submit-event.php Thu Apr 16 14:15:52 2009
@@ -1,5 +1,5 @@
<?php
-// $Id: submit-event.php,v 1.39 2009/04/16 14:13:03 bjori Exp $
+// $Id: submit-event.php,v 1.40 2009/04/16 14:15:52 bjori Exp $
$_SERVER['BASE_PAGE'] = 'submit-event.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/posttohost.inc';
@@ -247,7 +247,7 @@
</tr>
<tr>
<th class="subr">Are you real?</th>
- <td><select name="sane"><?php display_options(array("I'm an
robot", "I used to be", "WTF?", "Yes", "No, but I'd
still want to submit this"), "WTF?"); ?></select></td>
+ <td><select name="sane"><?php display_options(array("I'm an
robot", "I used to be", "WTF?", "Yes", "No, but I'd
still want to submit this"), "2"); ?></select></td>
</tr>
</table>
</form>