From fb0c225a64513eac81f062e364384d3b8593ec09 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Sun, 11 Feb 2007 14:37:44 +0000 Subject: [PATCH] Get rid of register_globals leftover --- submit-event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submit-event.php b/submit-event.php index 94ed58a01..cf7424432 100644 --- a/submit-event.php +++ b/submit-event.php @@ -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) {