summaryrefslogtreecommitdiff
path: root/includes/metadata.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-03-03 19:57:57 +0100
committerMinteck <contact@minteck.org>2023-03-03 19:57:57 +0100
commit27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe (patch)
tree5e9f7c306212e3c97c4d5ffac3072c9400520a7f /includes/metadata.inc
parent29928887e733f3bc2c2baaf06dafd495a006753b (diff)
downloadpluralconnect-27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe.tar.gz
pluralconnect-27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe.tar.bz2
pluralconnect-27e0f1f5b61a11a816b42bb9fc8c9fd392260ffe.zip
Updated 5 files (automated)
Diffstat (limited to 'includes/metadata.inc')
-rw-r--r--includes/metadata.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/metadata.inc b/includes/metadata.inc
index d903010..485666a 100644
--- a/includes/metadata.inc
+++ b/includes/metadata.inc
@@ -131,7 +131,7 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $member
</p>
<p>
<b>Age (for ponies with fixed age)</b><br>
- <input name="age" class="form-control" style="filter: invert(1) hue-rotate(180deg);" type="number" value="<?= $metadata["birth"]["age"] ?? "" ?>">
+ <input name="age" class="form-control" style="filter: invert(1) hue-rotate(180deg);" type="text" pattern="^\d{1,2}(-\d{1,2}|)$" value="<?= $metadata["birth"]["age"] ?? "" ?>">
</p>
<?php endif; ?>