Explorar o código

REFACTOR: Replaced deprecated property_path => false to mapped => false

luxemate %!s(int64=12) %!d(string=hai) anos
pai
achega
1b5ead269d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Form/Type/AdminType.php

+ 1 - 1
Form/Type/AdminType.php

@@ -28,7 +28,7 @@ class AdminType extends AbstractType
         $admin = $this->getAdmin($options);
 
         if ($options['delete'] && $admin->isGranted('DELETE') ) {
-            $builder->add('_delete', 'checkbox', array('required' => false, 'property_path' => false));
+            $builder->add('_delete', 'checkbox', array('required' => false, 'mapped' => false));
         }
 
         if (!$admin->hasSubject()) {