Permalink
Browse files

bugfix

  • Loading branch information...
1 parent b554c05 commit 1be87404cda68b037ca2b36fca5e4fd2f112f11f Johannes Stark 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 1be8740

Please sign in to comment.