mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
7a5bfd83c4
commit
0a66f48aa1
7 changed files with 47 additions and 43 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue