Bug #15139 » class.t3lib_tceforms.php.bug1703.patch
class.t3lib_tceforms.php 2005-11-03 12:32:37.000000000 +0100 | ||
---|---|---|
$paramsList = "'".$PA['itemFormElName']."','".implode(',',$evalList)."','".trim($config['is_in'])."',".(isset($config['checkbox'])?1:0).",'".$config['checkbox']."'";
|
||
if (isset($config['checkbox'])) {
|
||
// Setting default "click-checkbox" values for eval types "date" and "datetime":
|
||
$nextMidNight = mktime(0,0,0)+1*3600*24;
|
||
$nextMidNight = mktime(0,0,0); // +1*3600*24;
|
||
$checkSetValue = in_array('date',$evalList) ? $nextMidNight : '';
|
||
$checkSetValue = in_array('datetime',$evalList) ? time() : $checkSetValue;
|
||