Explorar o código

made the port optional

Fabien Potencier %!s(int64=14) %!d(string=hai) anos
pai
achega
0653ebafbc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,