diff --git a/base/src/org/compiere/util/DB.java b/base/src/org/compiere/util/DB.java index 263634938d..1770c848d8 100644 --- a/base/src/org/compiere/util/DB.java +++ b/base/src/org/compiere/util/DB.java @@ -169,7 +169,7 @@ public final class DB return; } String updated = env.getProperty("ADEMPIERE_MAIL_UPDATED"); - if (updated != null || updated.equals("Y")) + if (updated != null && updated.equals("Y")) return; // See org.compiere.install.ConfigurationData