summaryrefslogtreecommitdiff
path: root/web/template/account_details.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/account_details.php')
-rw-r--r--web/template/account_details.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/template/account_details.php b/web/template/account_details.php
index b79685b..024bd9c 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>