Don't bother passing unused arguments to 'TimeHelper::make_local_datetime()'.

There's no point in passing '$long' unless '$no_smart_dt' is set to 'true'.
This commit is contained in:
wn_
2024-12-15 18:14:42 +00:00
parent 119c7f13dc
commit f9b2291c28
10 changed files with 24 additions and 24 deletions

View File

@@ -143,7 +143,7 @@ class Pref_System extends Handler_Administrative {
<td class='errstr'><?= $line["errstr"] . "\n" . $line["context"] ?></td>
<td class='login'><?= $line["login"] ?></td>
<td class='timestamp'>
<?= TimeHelper::make_local_datetime($line["created_at"], false) ?>
<?= TimeHelper::make_local_datetime($line['created_at']) ?>
</td>
</tr>
<?php } ?>