Skip to content

Commit

Permalink
REFACTOR: Replaced deprecated property_path => false to mapped => false
Browse files Browse the repository at this point in the history
  • Loading branch information
luxemate committed Apr 8, 2013
1 parent d42d79d commit 1b5ead2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Form/Type/AdminType.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
$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()) {
Expand Down

0 comments on commit 1b5ead2

Please sign in to comment.