diff --git a/web/view_entry.php b/web/view_entry.php index a48fc27aef..6bc693c0bf 100644 --- a/web/view_entry.php +++ b/web/view_entry.php @@ -279,7 +279,7 @@ function generate_event_registration(array $row, ?string $previous_page=null) : { echo ''; echo '' . htmlspecialchars(get_vocab('registrant_limit')) . ''; - echo '' . htmlspecialchars($row['registrant_limit']) . ''; + echo '' . intval($row['registrant_limit']) . ''; // Redundant escaping, just in case echo "\n"; }