mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
feat: implement SQLite backup & data integrity plan (Phases 2-4)
This commit is contained in:
@@ -22,6 +22,8 @@ $isHxRequest = (isset($_SERVER['HTTP_HX_REQUEST']) && $_SERVER['HTTP_HX_REQUEST'
|
||||
$section = $_POST['section'] ?? '';
|
||||
|
||||
if ($section === 'formulaire') {
|
||||
// hx-include targets the wrapper div, so all checkboxes in the fieldset
|
||||
// are submitted together — including unchecked ones (absent from POST).
|
||||
$allowed = [
|
||||
'access_type_libre_enabled',
|
||||
'access_type_interne_enabled',
|
||||
|
||||
Reference in New Issue
Block a user