Fix [2785621] - NOTIFICATIONTYPE_EMailPlusNotice is not considered

Thanks to Kubotti
This commit is contained in:
Carlos Ruiz 2009-05-02 15:11:22 +00:00
parent 7bff24602a
commit fce07572ac
1 changed files with 4 additions and 2 deletions

View File

@ -630,7 +630,8 @@ public class MUser extends X_AD_User
public boolean isNotificationEMail()
{
String s = getNotificationType();
return s == null || NOTIFICATIONTYPE_EMail.equals(s);
return s == null || NOTIFICATIONTYPE_EMail.equals(s)
|| NOTIFICATIONTYPE_EMailPlusNotice.equals(s);
} // isNotificationEMail
/**
@ -640,7 +641,8 @@ public class MUser extends X_AD_User
public boolean isNotificationNote()
{
String s = getNotificationType();
return s != null && NOTIFICATIONTYPE_Notice.equals(s);
return s != null && (NOTIFICATIONTYPE_Notice.equals(s)
|| NOTIFICATIONTYPE_EMailPlusNotice.equals(s));
} // isNotificationNote