Only print : when both $h and $m are set
This commit is contained in:
parent
a52408c520
commit
d518b24d55
@ -4231,7 +4231,7 @@ class Form
|
|||||||
$retstring.='<option value="'.$hour.'"'.(($hour == $shour)?' selected':'').'>'.$hour.(empty($conf->dol_optimize_smallscreen)?'':'H').'</option>';
|
$retstring.='<option value="'.$hour.'"'.(($hour == $shour)?' selected':'').'>'.$hour.(empty($conf->dol_optimize_smallscreen)?'':'H').'</option>';
|
||||||
}
|
}
|
||||||
$retstring.='</select>';
|
$retstring.='</select>';
|
||||||
if (empty($conf->dol_optimize_smallscreen)) $retstring.=":";
|
if ($m && empty($conf->dol_optimize_smallscreen)) $retstring.=":";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($m)
|
if ($m)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user