[TYPO3-core] RFC: #0011875: db_list doesn't show '0' values

Susanne Moog typo3 at susannemoog.de
Sat Sep 19 15:14:07 CEST 2009


Bastian Waidelich schrieb:
> Hi all,
> 
> Attached is the patch for your convenience.
> And the missing notes:
> 
> 
> Type: Bugfix
> 
> Branches: trunk
> 
> Solution:
> For checkboxes I've replaced the empty string by a localized "no" in
> case if ($value) returns FALSE.
> For input fields I've replaced if ($value) by if (isset($value)) as
> if('0') would return FALSE.

+1 by reading and testing.

Best regards,

Susanne

-- 
Susanne Moog
NEUSTA GmbH - www.neusta.de


More information about the TYPO3-team-core mailing list