Fabien Potencier преди 14 години
родител
ревизия
0653ebafbc
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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,