Project

General

Profile

Bug #20994 » 11875_db_list_doesnt_show_0_values.patch

Administrator Admin, 2009-09-08 13:56

View differences:

t3lib/class.t3lib_befunc.php (working copy)
break;
case 'check':
if (!is_array($theColConf['items']) || count($theColConf['items'])==1) {
$l = $value ? $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:yes') : '';
$l = $value ? $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:yes') : $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:no');
} else {
reset($theColConf['items']);
$lA = Array();
......
}
break;
case 'input':
if ($value) {
if (isset($value)) {
if (t3lib_div::inList($theColConf['eval'], 'date')) {
$l = t3lib_BEfunc::date($value) .
' (' .
(2-2/3)