mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user