Fix null value being inserted
This commit is contained in:
parent
94e41b482a
commit
849b41dc9e
@ -40,8 +40,10 @@ abstract class BaseController extends AbstractController
|
||||
|
||||
foreach ($configuration as $config) {
|
||||
$name = $config['name'];
|
||||
if (null !== $result[$name] || CheckboxType::class == $config['type']) {
|
||||
$param->set($name, $result[$name]);
|
||||
}
|
||||
}
|
||||
$this->addFlash('success', 'Updating parameters successful');
|
||||
|
||||
return $this->redirect($request->getRequestUri());
|
||||
|
Loading…
Reference in New Issue
Block a user