X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/df31fed41e6f10218a99ece4a4f47571eea360f5..9a51f6fc76ce0b60829cc31ccab9643c73b26440:/lib/functions.php?ds=sidebyside
diff --git a/lib/functions.php b/lib/functions.php
index b3dc904..e72359e 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 '