diff options
Diffstat (limited to 'actions/register.php')
-rw-r--r-- | actions/register.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |