Apply CatAvatar when submiting aproval - fix #5779 in friendica

This commit is contained in:
Jonny Tischbein 2018-09-30 23:07:00 +02:00
parent 9c275a4185
commit b192684f04

View file

@ -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);