diff --git a/Controller/BaseController.php b/Controller/BaseController.php index cb8dce1..25c2435 100644 --- a/Controller/BaseController.php +++ b/Controller/BaseController.php @@ -40,7 +40,9 @@ abstract class BaseController extends AbstractController foreach ($configuration as $config) { $name = $config['name']; - $param->set($name, $result[$name]); + if (null !== $result[$name] || CheckboxType::class == $config['type']) { + $param->set($name, $result[$name]); + } } $this->addFlash('success', 'Updating parameters successful');