fix: jury-fieldset.php calling old() with wrong signature for partage

jury-fieldset.php called old('jury_promoteur') as a global function,
but the partage context defines old(array $data, string $key) —
passing a string where array is expected caused a TypeError.

Changed jury-fieldset.php to use $oldFn callable (like fieldset-tfe-info.php),
with fallback to global old() when not provided. The add-mode repopulation
block no longer calls the global old() directly.
This commit is contained in:
Pontoporeia
2026-05-10 23:06:22 +02:00
parent 9bcfaf5fd5
commit cab65ea4a4
4 changed files with 26 additions and 7 deletions

View File

@@ -832,7 +832,8 @@ a.recap-file-name:hover {
padding-top: var(--space-m);
width: 100%;
max-width: 620px;
margin-bottom: var(--space-l);
/* margin-bottom: var(--space-l); */
padding-bottom: var(--space-xl);
}
.recap-section h2 {