From: Jonny Tischbein Date: Sun, 30 Sep 2018 21:07:00 +0000 (+0200) Subject: Apply CatAvatar when submiting aproval - fix #5779 in friendica X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b192684f041994b6ce15587e0bd20f142fd7b676;p=friendica-addons.git Apply CatAvatar when submiting aproval - fix #5779 in friendica --- diff --git a/catavatar/catavatar.php b/catavatar/catavatar.php index f84ae117..490c6394 100644 --- a/catavatar/catavatar.php +++ b/catavatar/catavatar.php @@ -171,7 +171,7 @@ function catavatar_content(App $a) $size = intval($a->argv[2]); } - $condition = ['uid' => $uid, 'blocked' => false, + $condition = ['uid' => $uid, 'account_expired' => false, 'account_removed' => false]; $user = DBA::selectFirst('user', ['email'], $condition);