Skip to content

Commit

Permalink
Get rid of register_globals leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
bjori committed Feb 11, 2007
1 parent dbaabcc commit fb0c225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion submit-event.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
$errors[] = "You must specify a valid day of the month for a recurring event.";
}

if (preg_match("/submit/i", $action)) {
if (preg_match("/submit/i", $_POST["action"])) {
// Submit to master.php.net
$result = posttohost("http://master.php.net/entry/event.php", $_POST);
if ($result) {
Expand Down

0 comments on commit fb0c225

Please sign in to comment.