From c8c011e674dda7a20e48ef7ba230e56f3d6297de Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Wed, 7 Dec 2022 23:22:51 +0100 Subject: [PATCH] fix record object type --- inc/class.emailnotification.behaviors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/class.emailnotification.behaviors.php b/inc/class.emailnotification.behaviors.php index 46e2d2d..03c4c2f 100644 --- a/inc/class.emailnotification.behaviors.php +++ b/inc/class.emailnotification.behaviors.php @@ -74,7 +74,7 @@ class emailNotificationBehaviors continue; } - $notification_pref = self::notificationPref(rsExtUser::options($users)); + $notification_pref = self::notificationPref(rsExtUser::options(new dcRecord($users))); if ($notification_pref == 'all' || ($notification_pref == 'mine' && $users->user_id == $rs->user_id)) {