summaryrefslogtreecommitdiffstats
path: root/web/template/tu_details.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-06-05 14:47:38 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-06-05 15:12:10 +0200
commit0a66f48aa1293f93579b7de9bc5d080cf5f3105e (patch)
treeb2e3712776bb21e2bdacc99bbb76f2488c3339e6 /web/template/tu_details.php
parent7a5bfd83c4baec41bf8aa9015ef46eca5d629716 (diff)
downloadaurweb-0a66f48aa1293f93579b7de9bc5d080cf5f3105e.tar.xz
Do not return "None" in user functions
Return null instead of the string "None" in username_from_id(), uid_from_email() and uid_from_username(). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/tu_details.php')
-rw-r--r--web/template/tu_details.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/tu_details.php b/web/template/tu_details.php
index fca1815..38f6c0d 100644
--- a/web/template/tu_details.php
+++ b/web/template/tu_details.php
@@ -39,7 +39,7 @@ if ($yes > $active_tus / 2) {
<?php endif; ?>
</strong>
<br />
- <?= __("Submitted: %s by %s", gmdate("Y-m-d H:i", $row['Submitted']), username_from_id($row['SubmitterID'])) ?>
+ <?= __("Submitted: %s by %s", gmdate("Y-m-d H:i", $row['Submitted']), html_format_username(username_from_id($row['SubmitterID']))) ?>
<br />
<?= __("End") ?>:
<strong><?= gmdate("Y-m-d H:i", $row['End']) ?></strong>