From a654d63eb0ade36954afd1ea2026d9b11a0e96fd Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 17 May 2008 13:15:01 -0400 Subject: fix check for POST darcs-hash:20080517171501-84dde-b8d6a1cc106372c9127d73442b4740f2de7e7b22.gz --- actions/register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/register.php') diff --git a/actions/register.php b/actions/register.php index 908ae80cd..d3358cb92 100644 --- a/actions/register.php +++ b/actions/register.php @@ -26,7 +26,7 @@ class RegisterAction extends Action { if (common_logged_in()) { common_user_error(_t('Already logged in.')); - } else if ($this->arg('METHOD') == 'POST') { + } else if ($_SERVER['REQUEST_METHOD'] == 'POST') { $this->try_register(); } else { $this->show_form(); -- cgit v1.2.3-54-g00ecf