From: Michael Date: Sat, 14 Sep 2019 07:17:06 +0000 (+0000) Subject: Added comment X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a037427a54822c8617849306530cc8d458eb4f99;p=friendica.git Added comment --- diff --git a/src/Module/Profile.php b/src/Module/Profile.php index 0d14adcf90..d103c614e6 100644 --- a/src/Module/Profile.php +++ b/src/Module/Profile.php @@ -58,6 +58,7 @@ class Profile extends BaseModule if (ActivityPub::isRequest()) { $user = DBA::selectFirst('user', ['uid'], ['nickname' => self::$which]); if (DBA::isResult($user)) { + // The function returns an empty array when the account is removed, expired or blocked $data = ActivityPub\Transmitter::getProfile($user['uid']); if (!empty($data)) { System::jsonExit($data, 'application/activity+json');