[BUGFIX] date expects parameter 2 to be long, string given
authorSimon Schaufelberger <simonschaufi@googlemail.com>
Sat, 15 Oct 2011 09:38:13 +0000 (11:38 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Tue, 18 Oct 2011 07:28:47 +0000 (09:28 +0200)
commit46cb802d2edba60c854c2a38958252769971efca
tree9732689b88e3f58ca7c10006481ceb97ec785600
parente0f136f85f5d42f54183191d50cdfc9046bfe3ec
[BUGFIX] date expects parameter 2 to be long, string given

Any zero length string value is replaced with the current timestamp.
(Just like the default value for the second parameter of date/gmdate.)

Change-Id: I44d095deb7b511b8b35730f2f031186aeaadb945
Fixes: #30931
Releases: 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/5821
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Björn Pedersen
Reviewed-by: Simon Schaufelberger
Tested-by: Simon Schaufelberger
typo3/sysext/cms/tslib/class.tslib_content.php