summaryrefslogtreecommitdiff
path: root/includes/components
diff options
context:
space:
mode:
Diffstat (limited to 'includes/components')
-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): ?>