From cdc408a84cb6b02ad6ecca6486bcb3f68730a3e4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 17 Dec 2015 17:16:26 +0100 Subject: [PATCH] Fix: button "now" was not working on date using no javascript --- htdocs/core/class/html.form.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 549959bd561..552eed53a94 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -4164,7 +4164,7 @@ class Form else { // Day - $retstring.=''; + $retstring.=''; if ($emptydate || $set_time == -1) { @@ -4178,7 +4178,7 @@ class Form $retstring.=""; - $retstring.=''; + $retstring.=''; if ($emptydate || $set_time == -1) { $retstring.=''; @@ -4196,11 +4196,11 @@ class Form // Year if ($emptydate || $set_time == -1) { - $retstring.=''; + $retstring.=''; } else { - $retstring.=''; + $retstring.=''; for ($year = $syear - 5; $year < $syear + 10 ; $year++) {