See https://board.s9y.org/viewtopic.php?t=27388.
|
function serendipity_smarty_formatTime($timestamp, $format, $useOffset = true, $detectTimestamp = false, $useDate = false) { |
has a check
if (defined($format)) {, but if it fails happily calls
serendipity_formatTime($format, ...) also when $format is set to null. That's a problem when the subsequent call to
PHP81_BC\\strftime() in
serendipity_strftime will die because of $format still being null.
Possible solution: Let serendipity_smarty_formatTime set a default format.
See https://board.s9y.org/viewtopic.php?t=27388.
Serendipity/include/functions_smarty.inc.php
Line 744 in 00ad175
if (defined($format)) {, but if it fails happily callsserendipity_formatTime($format, ...)also when $format is set to null. That's a problem when the subsequent call toPHP81_BC\\strftime()inserendipity_strftimewill die because of $format still being null.Possible solution: Let
serendipity_smarty_formatTimeset a default format.