From 3a7586e3f7198f0ad72ae5905fc291375caee6ae Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 15 Nov 2022 09:03:43 -0500 Subject: [PATCH] Fix wrong user table field name in Repository\Notify - Address https://github.com/friendica/friendica/issues/11993#issuecomment-1314954594 --- src/Navigation/Notifications/Repository/Notify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5