Skip to content

Commit

Permalink
Use default form width when displayed one column
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed May 9, 2024
1 parent f4298a8 commit 5cf8741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galette/lib/Galette/Controllers/GaletteController.php
Expand Up @@ -530,7 +530,7 @@ public function storeCoreFieldsConfig(Request $request, Response $response): Res
'category' => $post[$field . '_category'],
'visible' => $post[$field . '_visible'],
'required' => $required,
'width_in_forms' => $post[$field . '_width_in_forms']
'width_in_forms' => $post[$field . '_width_in_forms'] ?? 1
);
$pos++;
}
Expand Down

0 comments on commit 5cf8741

Please sign in to comment.