Update html.form.class.php

This commit is contained in:
Laurent Destailleur 2023-03-31 11:44:58 +02:00 committed by GitHub
parent c2f5db9d9c
commit 0bdb6bae64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5199,7 +5199,7 @@ class Form
$more .= '<div class="tagtd">';
$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;
}