Skip to content

Commit

Permalink
Fix TypeError
Browse files Browse the repository at this point in the history
  • Loading branch information
campbell-m committed Jul 10, 2024
1 parent 9f43649 commit 171870a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/view_entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ function generate_event_registration(array $row, ?string $previous_page=null) :
{
echo '<tr>';
echo '<td>' . htmlspecialchars(get_vocab('registrant_limit')) . '</td>';
echo '<td>' . htmlspecialchars($row['registrant_limit']) . '</td>';
echo '<td>' . intval($row['registrant_limit']) . '</td>'; // Redundant escaping, just in case
echo "</tr>\n";
}

Expand Down

0 comments on commit 171870a

Please sign in to comment.