[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)
committerGeorg Ringer <mail@ringerge.org>
Tue, 18 Oct 2011 16:19:02 +0000 (18:19 +0200)
commit633eca813fc60290b800cc485cda036ebf0dfcff
treefefc4956dfd6b96c8f5b17832d7ea9747805fe09
parent4accff6321a13238a3ca5d3a474f9128691f466c
[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: I231b704c3df181486c37497e0dc6f10baf1d267e
Fixes: #30931
Releases: 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/5970
Reviewed-by: Simon Schaufelberger
Tested-by: Simon Schaufelberger
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/cms/tslib/class.tslib_content.php