mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-18 21:28:28 +01:00
Fixed exception from wrong 'disable' parameter.
This commit is contained in:
@@ -2,7 +2,7 @@ controllers:
|
||||
resource: ../../src/Controller/
|
||||
type: annotation
|
||||
prefix: '{_locale}'
|
||||
|
||||
|
||||
defaults:
|
||||
_locale: '%kernel.default_locale%'
|
||||
requirements:
|
||||
|
||||
@@ -168,7 +168,7 @@ abstract class BaseAdminController extends AbstractController
|
||||
$form_options = [
|
||||
'attachment_class' => $this->attachment_class,
|
||||
'parameter_class' => $this->parameter_class,
|
||||
'disabled' => null !== $timeTravel_timestamp ? true : null,
|
||||
'disabled' => null !== $timeTravel_timestamp ? true : false,
|
||||
];
|
||||
|
||||
//Disable editing of options, if user is not allowed to use twig...
|
||||
|
||||
Reference in New Issue
Block a user