summaryrefslogtreecommitdiff
path: root/includes/components/details.inc
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-03-16 13:29:26 +0100
committerRaindropsSys <contact@minteck.org>2023-03-16 13:29:26 +0100
commit7ccc2de87f9e25c715dc09b9aba4eb5c66f80424 (patch)
treeb324a58933219e9ff2b0bbd137773f435df86057 /includes/components/details.inc
parent940defd2939f52480ed5b548189b549457944995 (diff)
downloadpluralconnect-7ccc2de87f9e25c715dc09b9aba4eb5c66f80424.tar.gz
pluralconnect-7ccc2de87f9e25c715dc09b9aba4eb5c66f80424.tar.bz2
pluralconnect-7ccc2de87f9e25c715dc09b9aba4eb5c66f80424.zip
Updated 6 files (automated)
Diffstat (limited to 'includes/components/details.inc')
-rw-r--r--includes/components/details.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/components/details.inc b/includes/components/details.inc
index e50daf6..77790de 100644
--- a/includes/components/details.inc
+++ b/includes/components/details.inc
@@ -19,7 +19,7 @@
</div>
<div>
<b>Age:</b><span class="member-small-separator"><br></span>
- <?php if (!isset($metadata["birth"]["year"]) || $metadata["birth"]["age"] > 0): ?>
+ <?php if (!isset($metadata["birth"]["year"]) || $metadata["birth"]["age"] > 0 || $metadata["birth"]["age"] === -1): ?>
<?php if ($metadata["birth"]["age"] === -1): $age = abs(log(0)); // => INF ?>
<?= "<span data-bs-toggle='tooltip' title='This pony never ages and doesn&apos;t have a defined age, making this pony pretty much eternal.'>Eternal</span>" ?>
<?php elseif ($metadata["birth"]["age"] <= 0): ?>