diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/util/UserPreference.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/util/UserPreference.java index e66f9c3e8f..551406537f 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/util/UserPreference.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/util/UserPreference.java @@ -148,7 +148,7 @@ public final class UserPreference implements Serializable { String value = VALUES[i]; MPreference preference = query.setParameters(new Object[]{m_AD_User_ID, attribute}).firstOnly(); - if (preference != null) { + if (preference != null && preference.getValue() != null) { value = preference.getValue(); }