Fix wrong user table field name in Repository\Notify
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1314954594
This commit is contained in:
parent
744d0fdde4
commit
3a7586e3f7
|
@ -531,7 +531,7 @@ class Notify extends BaseRepository
|
|||
// Ensure that the important fields are set at any time
|
||||
$fields = ['nickname', 'account_removed', 'account_expired'];
|
||||
$user = Model\User::getById($params['uid'], $fields);
|
||||
if ($user['account_removed'] || $user['user_expired']) {
|
||||
if ($user['account_removed'] || $user['account_expired']) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user