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

Get rid of register_globals leftover

This commit is contained in:
Hannes Magnusson
2007-02-11 14:37:44 +00:00
parent dbaabcc635
commit fb0c225a64

View File

@@ -103,7 +103,7 @@ if ($process) {
$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) {