fix record object type

This commit is contained in:
Jean-Christian Paul Denis 2022-12-07 23:22:51 +01:00
parent d6c75d123b
commit c8c011e674
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -74,7 +74,7 @@ class emailNotificationBehaviors
continue; continue;
} }
$notification_pref = self::notificationPref(rsExtUser::options($users)); $notification_pref = self::notificationPref(rsExtUser::options(new dcRecord($users)));
if ($notification_pref == 'all' if ($notification_pref == 'all'
|| ($notification_pref == 'mine' && $users->user_id == $rs->user_id)) { || ($notification_pref == 'mine' && $users->user_id == $rs->user_id)) {