X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fuserbyid.php;h=f3e1556f3f143da067a6d259587b8e8edf493e47;hb=04ae500749ea2e5937ac1f28ef8c7edf4f99f0a1;hp=ebff7e4a7245cf27fa45cdc7ac532b540b7894c3;hpb=a5c11cc92a277c3af6f9b18b1ffaf6dc5f90f5cc;p=quix0rs-gnu-social.git diff --git a/actions/userbyid.php b/actions/userbyid.php index ebff7e4a72..f3e1556f3f 100644 --- a/actions/userbyid.php +++ b/actions/userbyid.php @@ -47,17 +47,17 @@ class UserbyidAction extends Action { /** * Is read only? - * + * * @return boolean true */ function isReadOnly($args) - { + { return true; } /** * Class handler. - * + * * @param array $args array of arguments * * @return nothing @@ -67,7 +67,7 @@ class UserbyidAction extends Action parent::handle($args); $id = $this->trimmed('id'); if (!$id) { - $this->clientError(_('No id.')); + $this->clientError(_('No ID.')); } $user = User::staticGet($id); if (!$user) { @@ -88,4 +88,3 @@ class UserbyidAction extends Action common_redirect($url, 303); } } -