Add config and controller to use the config
This commit is contained in:
@ -40,6 +40,7 @@ abstract class BaseController extends AbstractController
|
||||
|
||||
foreach ($configuration as $config) {
|
||||
$name = $config['name'];
|
||||
// Excluding the checkbox type from checking, because it will be null if not checked
|
||||
if (null !== $result[$name] || CheckboxType::class == $config['type']) {
|
||||
$param->set($name, $result[$name]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user