ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/client/alerters/EMail__Alerter.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/alerters/EMail__Alerter.java (file contents):
Revision 1.12 by ajm, Mon Mar 5 12:09:28 2001 UTC vs.
Revision 1.13 by ajm, Mon Mar 5 12:45:51 2001 UTC

# Line 42 | Line 42 | public class EMail__Alerter implements PluginAlerter {
42          String levelName = cp.getProperty(_name, "Alerter.EMail.level");
43          int level = StringUtils.getStringPos(levelName, Alert.alertLevels);
44          // only send if it's equal (or above) our level
45 <        if((alert.getLevel() == 0) || (alert.getLevel() >= level)) {
45 >        if(((alert.getLevel() == 0) && (alert.getLastLevel() >= level)) || (alert.getLevel() >= level)) {
46              String alertType = Alert.alertLevels[alert.getLevel()];
47              String thresholdType = Alert.thresholdLevels[alert.getThreshold()];
48              // sort out the subject

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines