Fix wrong user table field name in Repository\Notify

- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1314954594
pull/12181/head
Hypolite Petovan 2022-11-15 09:03:43 -05:00
rodzic 744d0fdde4
commit 3a7586e3f7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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