From 0bdb6bae64d9245c7b5614ed952899a0d57367e9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 31 Mar 2023 11:44:58 +0200 Subject: [PATCH] Update html.form.class.php --- htdocs/core/class/html.form.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 0ef7115ba21..99c0305d2cb 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -5199,7 +5199,7 @@ class Form $more .= '
'; $addnowlink = (empty($input['datenow']) ? 0 : 1); $h = $m = 0; - if ($input['type'] == 'datetime) { + if ($input['type'] == 'datetime') { $h = isset($input['hours']) ? $input['hours'] : 1; $m = isset($input['minutes']) ? $input['minutes'] : 1; }