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:
1
TODO.md
1
TODO.md
@@ -66,3 +66,4 @@
|
||||
- [x] Handle jury_promoteur[] and jury_promoteur_ulb_name[] as arrays in partage/index.php
|
||||
- [x] Make Auteur(s) and Accès columns sortable alphabetically in admin list
|
||||
- [x] Merge both .recap-section sections into one + add margin-bottom: var(--space-l)
|
||||
- [x] Fix Fatal error: old() type error in jury-fieldset.php — switch from global old() to $oldFn callable
|
||||
|
||||
Reference in New Issue
Block a user