fix record object type
This commit is contained in:
parent
d6c75d123b
commit
c8c011e674
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user