Merge pull request #4116 from IonAgorria/patch-2
Only print : when both $h and $m are set
This commit is contained in:
commit
863f81160f
@ -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