Skip to content

Commit

Permalink
Fixed crash if rules column is NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyut0n committed Feb 13, 2020
1 parent 0e7aadd commit f136d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ var NyuLivemapHeader = {
}
} );
var parser = new sceditor.BBCodeParser();
$("#dialog-rules").html( parser.toHTML(controller.config.rules) );
controller.config.rules == null || $("#dialog-rules").html( parser.toHTML(controller.config.rules) );
return this;
},

Expand Down

0 comments on commit f136d46

Please sign in to comment.