Skip to content

Commit cc8572c

Browse files
committed
Resilience
1 parent 1efd905 commit cc8572c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/general.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ function bam($x)
8282

8383
function format_datetime($d)
8484
{
85+
if (empty($d)) return '';
8586
if (!is_int($d)) {
8687
if (0 === strpos($d, '0000-00-00')) return '';
8788
$d = strtotime($d);

0 commit comments

Comments
 (0)