From b192684f041994b6ce15587e0bd20f142fd7b676 Mon Sep 17 00:00:00 2001 From: Jonny Tischbein Date: Sun, 30 Sep 2018 23:07:00 +0200 Subject: [PATCH] Apply CatAvatar when submiting aproval - fix #5779 in friendica --- catavatar/catavatar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5