Completed
Push — master ( 004c79...66ebdb )
by Jan
03:23
created
src/Form/ImportType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,12 +60,12 @@
 block discarded – undo
60 60
         //Disable import if user is not allowed to create elements.
61 61
         $entity = new $data['entity_class'];
62 62
         $perm_name = "create";
63
-        $disabled = ! $this->security->isGranted($perm_name, $entity);
63
+        $disabled = !$this->security->isGranted($perm_name, $entity);
64 64
 
65 65
         $builder
66 66
 
67 67
             ->add('format', ChoiceType::class, ['choices' =>
68
-                ['JSON' => 'json', 'XML' => 'xml','CSV'=>'csv' ,'YAML' => 'yaml'], 'label' => 'export.format',
68
+                ['JSON' => 'json', 'XML' => 'xml', 'CSV'=>'csv', 'YAML' => 'yaml'], 'label' => 'export.format',
69 69
                 'disabled' => $disabled])
70 70
             ->add('csv_separator', TextType::class, ['data' => ';', 'label' => 'import.csv_separator',
71 71
                 'disabled' => $disabled])
Please login to merge, or discard this patch.