Project

General

Profile

Bug #20052 » bug_10487.patch

Administrator Admin, 2009-10-09 15:16

View differences:

t3lib/class.t3lib_tcemain.php (working copy)
if (!$unsetResult) {
$newVal=$this->checkValue_checkMax($tcaFieldConf, $valueArray);
$res['value'] = implode(',',$newVal);
// When no values in the array, unset the value to create correct SQL query. Fixes #10487
if (count($newVal) > 0) {
$res['value'] = implode(',',$newVal);
} else {
unset($res['value']);
}
} else {
unset($res['value']);
}
typo3/sysext/cms/tslib/class.tslib_fe.php (working copy)
'identifier' => $this->newHash,
'page_id' => $this->id,
'content' => $content,
'temp_content' => $this->tempContent,
'temp_content' => intval($this->tempContent),
'cache_data' => serialize($data),
'expires' => $expirationTstamp,
'tstamp' => $GLOBALS['EXEC_TIME']
......
'hash' => $this->newHash,
'page_id' => $this->id,
'HTML' => $content,
'temp_content' => $this->tempContent,
'temp_content' => intval($this->tempContent),
'cache_data' => serialize($data),
'expires' => $expirationTstamp,
'tstamp' => $GLOBALS['EXEC_TIME']
(1-1/2)