diff --git a/etemplate/inc/class.date_widget.inc.php b/etemplate/inc/class.date_widget.inc.php index bc1d214237..93e3961eec 100644 --- a/etemplate/inc/class.date_widget.inc.php +++ b/etemplate/inc/class.date_widget.inc.php @@ -368,7 +368,7 @@ $cell_name = $cell['name']; $cell['name'] .= '[value]'; - if (strstr($input_format,'m') && $value < 60) + if (strstr($input_format,'m') && $value && $value < 60) { $unit = 'm'; }