summaryrefslogtreecommitdiff
path: root/includes/metadata.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/metadata.inc')
-rw-r--r--includes/metadata.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/metadata.inc b/includes/metadata.inc
index d7875c5..2e009cd 100644
--- a/includes/metadata.inc
+++ b/includes/metadata.inc
@@ -144,12 +144,12 @@ if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/metadata/" . $member
foreach ($flags as $id => $name): if (!is_array($name) && !is_null($name)): ?>
<label style="margin-bottom:5px;">
<input <?= $metadata[$id] ? "checked" : "" ?> class="form-check-input" type="checkbox" name="flags[<?= $id ?>]">
- <?= $name ?>
+ <?= str_starts_with($name, "!!") ? substr($name, 2) : $name ?>
</label><br>
<?php else: foreach ($name as $id2 => $name2): ?>
<label style="margin-bottom:5px;">
<input <?= $metadata[$id][$id2] ? "checked" : "" ?> class="form-check-input" type="checkbox" name="flags[<?= $id ?>][<?= $id2 ?>]">
- <?= $name2 ?>
+ <?= str_starts_with($name2, "!!") ? substr($name2, 2) : $name2 ?>
</label><br>
<?php endforeach; endif; endforeach; ?>