* minor - NPE in DB.updateMail

This commit is contained in:
Heng Sin Low 2007-11-02 05:56:08 +00:00
parent 14ffcb8bf0
commit 8986763ffc
1 changed files with 1 additions and 1 deletions

View File

@ -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