Commit 2c96eaa063445eeed8cffb2095e93ead84978f7c

Authored by Adhidarma Hadiwinoto
1 parent bca5875f06
Exists in master

bugfix on sanitizeMatrix

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

... ... @@ -226,6 +226,9 @@ function createServer() {
226 226 }
227 227  
228 228 function sanitizeMatrix(matrix) {
  229 + if (matrix === undefined) {
  230 + matrix = {};
  231 + }
229 232 if (matrix.config_dirty === undefined) {
230 233 matrix.config_dirty = 0;
231 234 }