diff options
Diffstat (limited to 'web/template/account_details.php')
-rw-r--r-- | web/template/account_details.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/template/account_details.php b/web/template/account_details.php index b79685be..024bd9c3 100644 --- a/web/template/account_details.php +++ b/web/template/account_details.php @@ -61,7 +61,11 @@ </tr> <tr> <th><?= __("Registration date:") ?></th> + <?php if ($row["RegistrationTS"]): ?> <td><?= (new DateTime($row["RegistrationTS"]))->format('Y-m-d') ?></td> + <?php else: ?> + <td><?= __("unknown") ?></td> + <?php endif; ?> </tr> <?php if (has_credential(CRED_ACCOUNT_LAST_LOGIN)): ?> <tr> |