Fix wrong user table field name in Repository\Notify

- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1314954594
This commit is contained in:
Hypolite Petovan 2022-11-15 09:03:43 -05:00
parent 744d0fdde4
commit 3a7586e3f7
1 changed files with 1 additions and 1 deletions

View File

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