From a607e2ec7a3fa262aee3bd0e8c106f2e87b46beb Mon Sep 17 00:00:00 2001 From: Ruben de Vries Date: Sat, 25 Jun 2011 17:08:56 +0200 Subject: [PATCH] fixed wrong keyname --- lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php b/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php index 47eb07c45..ae488ce63 100644 --- a/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php +++ b/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php @@ -435,7 +435,7 @@ class YamlDriver extends AbstractFileDriver } if (isset($manyToManyElement['orphanRemoval'])) { - $mapping['orphanRemoval'] = (bool)$manyToManyElement['orphan-removal']; + $mapping['orphanRemoval'] = (bool)$manyToManyElement['orphanRemoval']; } if (isset($manyToManyElement['orderBy'])) {