From: Hypolite Petovan Date: Tue, 15 Nov 2022 14:03:43 +0000 (-0500) Subject: Fix wrong user table field name in Repository\Notify X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a7586e3f7198f0ad72ae5905fc291375caee6ae;p=friendica.git Fix wrong user table field name in Repository\Notify - Address https://github.com/friendica/friendica/issues/11993#issuecomment-1314954594 --- diff --git a/src/Navigation/Notifications/Repository/Notify.php b/src/Navigation/Notifications/Repository/Notify.php index 683725e4ba..3891a6e256 100644 --- a/src/Navigation/Notifications/Repository/Notify.php +++ b/src/Navigation/Notifications/Repository/Notify.php @@ -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; }