From 933b0dea68a9c5120097c174b1eccf066cde0bd1 Mon Sep 17 00:00:00 2001 From: Johan Cwiklinski Date: Tue, 9 Jul 2024 14:57:58 +0200 Subject: [PATCH] Fix editing events with an id > 9 closes #1856 --- _routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_routes.php b/_routes.php index c843bba..42c1016 100644 --- a/_routes.php +++ b/_routes.php @@ -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);