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

Oliver Hader oliver at typo3.org
Mon Nov 16 15:45:02 CET 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012594.patch
Type: text/x-patch
Size: 692 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091116/8a169861/attachment.bin>


More information about the TYPO3-team-core mailing list