From 992f74b31cfd2997c8a8e83135d194a5bb2d15ac Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Wed, 29 Apr 2026 21:47:48 +0200 Subject: [PATCH] fix: prevent jury-fieldset partial from calling old() with wrong arity in partage context Drop '?: null' coercions on juryPresident/juryPromoteur seeding in partage/index.php so they are '' (not null), making the partial's $addMode guard false and skipping the single-arg old() call that clashes with partage's 3-arg old() signature. --- app/public/partage/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/public/partage/index.php b/app/public/partage/index.php index 25cd92c..55e2151 100644 --- a/app/public/partage/index.php +++ b/app/public/partage/index.php @@ -270,8 +270,8 @@ function renderShareLinkForm(string $slug, array $link): void