Fix [2785621] - NOTIFICATIONTYPE_EMailPlusNotice is not considered
Thanks to Kubotti
This commit is contained in:
parent
7bff24602a
commit
fce07572ac
|
@ -630,7 +630,8 @@ public class MUser extends X_AD_User
|
||||||
public boolean isNotificationEMail()
|
public boolean isNotificationEMail()
|
||||||
{
|
{
|
||||||
String s = getNotificationType();
|
String s = getNotificationType();
|
||||||
return s == null || NOTIFICATIONTYPE_EMail.equals(s);
|
return s == null || NOTIFICATIONTYPE_EMail.equals(s)
|
||||||
|
|| NOTIFICATIONTYPE_EMailPlusNotice.equals(s);
|
||||||
} // isNotificationEMail
|
} // isNotificationEMail
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -640,7 +641,8 @@ public class MUser extends X_AD_User
|
||||||
public boolean isNotificationNote()
|
public boolean isNotificationNote()
|
||||||
{
|
{
|
||||||
String s = getNotificationType();
|
String s = getNotificationType();
|
||||||
return s != null && NOTIFICATIONTYPE_Notice.equals(s);
|
return s != null && (NOTIFICATIONTYPE_Notice.equals(s)
|
||||||
|
|| NOTIFICATIONTYPE_EMailPlusNotice.equals(s));
|
||||||
} // isNotificationNote
|
} // isNotificationNote
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue