Browse files

bugfix

  • Loading branch information...
1 parent 0fc2aa4 commit 9a879f48ceb9c488acc890602ce8e153ece07bbb Johannes Stark committed with lsmith77 Sep 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Doctrine/ODM/PHPCR/Proxy/ReferenceProxyFactory.php
View
2 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 9a879f4

Please sign in to comment.