mirror of
https://github.com/friendica/friendica
synced 2024-11-18 04:23:41 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue