Skip to content

Commit

Permalink
LSNBLDR-479 NPE when trying to 'reorder' having an empty text item - …
Browse files Browse the repository at this point in the history
…only in Oracle
  • Loading branch information
bjones86 committed Jul 10, 2015
1 parent 6e6efb0 commit 2c4e35f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@

package org.sakaiproject.lessonbuildertool;

import java.util.HashMap;
import java.util.Map;
import org.json.simple.JSONObject;
import org.sakaiproject.component.cover.ComponentManager;
import org.sakaiproject.lessonbuildertool.model.SimplePageToolDao;

/**
Expand Down Expand Up @@ -275,6 +272,9 @@ public void setName(String s) {
}

public void setHtml(String html) {
if( html == null ) {
html = "";
}
this.html = html;
}

Expand Down

0 comments on commit 2c4e35f

Please sign in to comment.