Browse Source

made the port optional

Fabien Potencier 14 năm trước cách đây
mục cha
commit
0653ebafbc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Configurator/Form/DoctrineStepType.php

+ 1 - 1
Configurator/Form/DoctrineStepType.php

@@ -28,7 +28,7 @@ class DoctrineStepType extends AbstractType
             ->add('driver', 'choice', array('choices' => DoctrineStep::getDrivers()))
             ->add('name', 'text')
             ->add('host', 'text')
-            ->add('port', 'text')
+            ->add('port', 'text', array('required' => false))
             ->add('user', 'text')
             ->add('password', 'repeated', array(
                 'required'        => false,