X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fremovepeopletag.php;h=3d9cfe5332de28ebec2a053d7ef8edaba92aed62;hb=9c4e6bfe4692436e3b84534d3ecc876022558d09;hp=8192e86b44fd4246c932136a92f6c01eee9f5022;hpb=cd1f2e25f57342bff34b5b0c2ab26ec25adf343f;p=quix0rs-gnu-social.git diff --git a/actions/removepeopletag.php b/actions/removepeopletag.php index 8192e86b44..3d9cfe5332 100644 --- a/actions/removepeopletag.php +++ b/actions/removepeopletag.php @@ -129,7 +129,7 @@ class RemovepeopletagAction extends Action if (!$ptag) { $user = User::getKV('id', $this->tagged->id); - if ($user) { + if ($user instanceof User) { $this->clientError( // TRANS: Client error displayed when an unknown error occurs while delisting a user. // TRANS: %s is a username.