diff --git a/expire.php b/expire.php index fb1f14cf..59c9a0c9 100644 --- a/expire.php +++ b/expire.php @@ -59,7 +59,7 @@ if ($argc > 1) { $f = fopen('rip.txt', 'a'); fwrite($f, "--\r\n"); foreach($delete as $i => $d){ - $s = "RIP /".$d['board']."/, created by ".$d['mod']?$d['mod']:'?'." and last active on ".$d['last_activity']->format('Y-m-d H:i:s.').($d['last_mod'] ? ' Mod last active on ' . $d['last_mod']->format('Y-m-d H:i:s.') : ' Mod never active.') . " Number of posts: {$d['count']}." . "\r\n"; + $s = "RIP /".$d['board']."/, created by ".($d['mod']?$d['mod']:'?')." and last active on ".$d['last_activity']->format('Y-m-d H:i:s.').($d['last_mod'] ? ' Mod last active on ' . $d['last_mod']->format('Y-m-d H:i:s.') : ' Mod never active.') . " Number of posts: {$d['count']}." . "\r\n"; echo $s; fwrite($f, $s);