[TYPO3-core] RFC: Bug #12594: "LastLogin"-Field creates PHP error on create (date)

Oliver Hader oliver at typo3.org
Mon Nov 16 17:31:46 CET 2009


FYI: Committed to SVN Trunk (rev. 6430)

olly


Oliver Hader schrieb:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> 
> Branches: Trunk
> 
> Problem:
> In 4.3 the "lastLogin" field has been made visible for fe_users and
> be_users.
> While creating a new record the fieldvalue is not set - for shure. This
> results in a PHP error since the date function has no parameter.
> 
> Solution:
> Default values for new records have been added in the TCA definition.
> However, it now shows the start of the unixtime epoch in 1970, but
> changing this would be a general thing in TYPO3 and affect of course all
> fields that handle date values.
> 
> olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list