diff options
Diffstat (limited to 'actions/newnotice.php')
-rw-r--r-- | actions/newnotice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php index 9fc910318..e20932b55 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -27,7 +27,7 @@ class NewnoticeAction extends Action { if (!common_logged_in()) { common_user_error(_t('Not logged in.')); - } else if ($this->arg('METHOD') == 'POST') { + } else if ($_SERVER['REQUEST_METHOD'] == 'POST') { $id = $this->save_new_notice(); if ($id) { |