Skip to content

Commit

Permalink
Merge branch 'bugfix/KNOWAGE-7951' into knowage-server-8.1
Browse files Browse the repository at this point in the history
(cherry picked from commit 79a1e2f)
  • Loading branch information
leonegiorgia committed Mar 7, 2024
1 parent eba33aa commit a1be8fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ private JSONObject getThreshold(Double value, JSONArray colorThrJ) throws JSONEx

for (int c = 0; c < colorThrJ.length(); c++) {
JSONObject thrCond = (JSONObject) colorThrJ.get(c);
if (!thrCond.has("value")) {
if (!thrCond.has("operator") || !thrCond.has("value")) {
continue;
}
String condition = thrCond.getString("operator");
Expand Down

0 comments on commit a1be8fa

Please sign in to comment.