diff --git a/actions/apioauthauthorize.php b/actions/apioauthauthorize.php index 0b6cf34bd2..74f75ff660 100644 --- a/actions/apioauthauthorize.php +++ b/actions/apioauthauthorize.php @@ -372,7 +372,7 @@ class ApiOauthAuthorizeAction extends Action $this->elementStart('form', array('method' => 'post', 'id' => 'form_apioauthauthorize', 'class' => 'form_settings', - 'action' => common_local_url('apioauthauthorize'))); + 'action' => common_local_url('ApiOauthAuthorize'))); $this->elementStart('fieldset'); $this->element('legend', array('id' => 'apioauthauthorize_allowdeny'), // TRANS: Fieldset legend.