Permalink
Browse files

Merge pull request #61 from starkj/references

bugfix
  • Loading branch information...
2 parents b554c05 + 1be8740 commit 45a7cf65149f3191c1fb23dbc971396292a02d56 @dbu dbu committed Sep 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Doctrine/ODM/PHPCR/Proxy/ReferenceProxyFactory.php
@@ -189,7 +189,7 @@ private function getUnsetAttributes(ClassMetadata $class)
$attributes .= ", ";
}
- $attributes = substr($attributes, 0, -2);
+ $attributes .= '$this->id';
return "unset(".$attributes.");";
}

0 comments on commit 45a7cf6

Please sign in to comment.