Skip to content

Commit

Permalink
Fix editing events with an id > 9
Browse files Browse the repository at this point in the history
closes #1856
  • Loading branch information
trasher committed Jul 9, 2024
1 parent bf9a429 commit 933b0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
)->setName('events_storeevent_add')->add($authenticate);

$app->post(
'/event/edit/{id:\d}',
'/event/edit/{id:\d+}',
[EventsController::class, 'doEdit']
)->setName('events_storeevent_edit')->add($authenticate);

Expand Down

0 comments on commit 933b0de

Please sign in to comment.