diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php
index 9eb2d7c6f87..da9616da6da 100644
--- a/htdocs/html.form.class.php
+++ b/htdocs/html.form.class.php
@@ -101,9 +101,9 @@ class Form {
}
- Function select_date($set_time='', $prefix='re', $h = 0, $m = 0)
+ Function select_date($set_time='', $prefix='re', $h = 0, $m = 0, $empty=0)
{
- if (! $set_time)
+ if (! $set_time && !$empty)
{
$set_time = time();
}
@@ -130,6 +130,15 @@ class Form {
$smin = date("i", $set_time);
print '