X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/b6f423726c6f71c769fc7d7f3b842f623595a808..cea71d42c3eafae9cb41017f24a12d6c84d9c80a:/lib/functions.php?ds=sidebyside
diff --git a/lib/functions.php b/lib/functions.php
index 3c432b6..a4f9ec6 100644
--- a/lib/functions.php
+++ b/lib/functions.php
@@ -680,7 +680,9 @@ function jirafeau_admin_list($name, $file_hash, $link_hash)
echo t('EXPIRE') . ': ' . ($l['time'] == -1 ? 'â' : jirafeau_get_datetimefield($l['time'])) . '
';
echo t('ONETIME') . ': ' . ($l['onetime'] == 'O' ? 'Yes' : 'No') . '
';
echo t('UPLOAD_DATE') . ': ' . jirafeau_get_datetimefield($l['upload_date']) . '
';
- echo t('ORIGIN') . ': ' . $l['ip'] . '
';
+ if (strlen($l['ip']) > 0) {
+ echo t('ORIGIN') . ': ' . $l['ip'] . '
';
+ }
echo '