Fix crash

This commit is contained in:
Victor Shcherb 2016-09-01 21:55:34 +02:00
parent a7e0212de5
commit e8f18be49c

View file

@ -1107,7 +1107,7 @@ public class OpeningHoursParser {
} else if(pair[0].mainNumber == 2) { } else if(pair[0].mainNumber == 2) {
basic.easter = true; basic.easter = true;
} }
} else { } else if(pair[0].mainNumber >= 0){
array[pair[0].mainNumber] = true; array[pair[0].mainNumber] = true;
} }
} }