[BUGFIX] strftime expects parameter 2 to be long, string given
authorSimon Schaufelberger <simonschaufi@googlemail.com>
Tue, 18 Sep 2012 19:44:50 +0000 (21:44 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Fri, 12 Oct 2012 13:14:04 +0000 (15:14 +0200)
commitc4badeae38705dd9527c43fa6faab926d905791b
tree3f448cddfa0420c0913d18cacb4259e796bae169
parenta0e9cae482a0f9ee5e3a37c5799f6fc5ca964827
[BUGFIX] strftime 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
strtime/gmstrftime.)

Change-Id: I58225b1604607685a3fd4ac4ee50b806c552d326
Fixes: #38717
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/14717
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/cms/tslib/class.tslib_content.php