Fixed exception from wrong 'disable' parameter.

This commit is contained in:
Jan Böhmer 2020-05-10 16:58:53 +02:00
parent c0d549967d
commit 6a40f04243
2 changed files with 2 additions and 2 deletions

View file

@ -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...