Skip to content

Commit

Permalink
Fetch null pointer in updater
Browse files Browse the repository at this point in the history
  • Loading branch information
sHuewe committed Apr 29, 2019
1 parent 6301d43 commit bc104ac
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ public boolean init(CmsUpdateUI ui) {
//
}

bean.setDetectedVersion(m_dbBean.getDetectedVersion());

try {
bean.setDetectedVersion(m_dbBean.getDetectedVersion());
if (m_dbBean.needUpdate()) {
m_icon.setContentMode(ContentMode.HTML);
m_icon.setValue(FontOpenCms.WARNING.getHtml());
Expand Down

0 comments on commit bc104ac

Please sign in to comment.