From 959213b0dae4e1a4480d4f589ddb5e62f64d6577 Mon Sep 17 00:00:00 2001 From: Lukas Kahwe Smith Date: Fri, 11 Oct 2013 10:52:02 +0200 Subject: [PATCH] make the link type optional --- Admin/AbstractMenuNodeAdmin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Admin/AbstractMenuNodeAdmin.php b/Admin/AbstractMenuNodeAdmin.php index 399cf8e9..828ba872 100644 --- a/Admin/AbstractMenuNodeAdmin.php +++ b/Admin/AbstractMenuNodeAdmin.php @@ -77,6 +77,7 @@ protected function configureFormFields(FormMapper $formMapper) 'content' => array('content', 'doctrine_phpcr_odm_tree'), ), 'empty_value' => 'auto', + 'required' => false )) ->add('route', 'text', array('required' => false)) ->add('uri', 'text', array('required' => false))