X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fuserbyid.php;h=aa96993e6f39786f9728955284b976a0990266b1;hb=2a4dc77a633cc78907934fd93200ac16d55be78e;hp=b8ccd0108e0ab393248637a258998ef42dd63c4a;hpb=e95f77d34c501d345e731ccf6bc722034d155b77;p=quix0rs-gnu-social.git diff --git a/actions/userbyid.php b/actions/userbyid.php index b8ccd0108e..aa96993e6f 100644 --- a/actions/userbyid.php +++ b/actions/userbyid.php @@ -69,7 +69,7 @@ class UserbyidAction extends Action // TRANS: Client error displayed trying to find a user by ID without providing an ID. $this->clientError(_('No ID.')); } - $user = User::staticGet($id); + $user = User::getKV($id); if (!$user) { // TRANS: Client error displayed trying to find a user by ID for a non-existing ID. $this->clientError(_('No such user.'));