Fix zero time issue when updating time sheets

This commit is contained in:
gamonoid
2017-10-08 16:53:33 +02:00
parent 10403e280c
commit ddb46d8443

View File

@@ -807,7 +807,7 @@ QtsheetAdapter.method('validateCellValue', function(element, evt, newValue) {
return false;
}
var val = parseFloat(newValue);
if(val <= 0 || val > 24){
if(val < 0 || val > 24){
return false;
}