Allow for bool type as config type
This commit is contained in:
@ -60,10 +60,8 @@ abstract class BaseController extends AbstractController
|
||||
switch ($type) {
|
||||
case CheckboxType::class:
|
||||
return boolval($value);
|
||||
break;
|
||||
default:
|
||||
return $value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user