IDEMPIERE-6098 - Wrong Null Check in Dashboard Controller (#2304)
This commit is contained in:
parent
bca41fb13d
commit
4ac98a630a
|
@ -740,7 +740,7 @@ public class DashboardController implements EventListener<Event> {
|
|||
HtmlBasedComponent parentComponent, List<Component> components, Component zulComponent, ServerPushTemplate spt) throws Exception {
|
||||
// HTML content
|
||||
String htmlContent = dashboardContent.get_ID() > 0 ? dashboardContent.get_Translation(MDashboardContent.COLUMNNAME_HTML) : null;
|
||||
if(htmlContent != null)
|
||||
if(!Util.isEmpty(htmlContent))
|
||||
{
|
||||
StringBuilder result = new StringBuilder("<html><head>");
|
||||
|
||||
|
|
Loading…
Reference in New Issue