mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed exception from wrong 'disable' parameter.
This commit is contained in:
parent
c0d549967d
commit
6a40f04243
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ controllers:
|
||||||
resource: ../../src/Controller/
|
resource: ../../src/Controller/
|
||||||
type: annotation
|
type: annotation
|
||||||
prefix: '{_locale}'
|
prefix: '{_locale}'
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
_locale: '%kernel.default_locale%'
|
_locale: '%kernel.default_locale%'
|
||||||
requirements:
|
requirements:
|
||||||
|
|
|
@ -168,7 +168,7 @@ abstract class BaseAdminController extends AbstractController
|
||||||
$form_options = [
|
$form_options = [
|
||||||
'attachment_class' => $this->attachment_class,
|
'attachment_class' => $this->attachment_class,
|
||||||
'parameter_class' => $this->parameter_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...
|
//Disable editing of options, if user is not allowed to use twig...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue