doctrine/DoctrineModule — pull request #324 by akiiiii (2013-09-09 10:40:28+00:00)
Title: fixed issue 323 by creating empty array

Updated AllowRemoveByValue to create empty $collection array in case $this->getCollectionFromObjectByValue(); returns null

this way array_udiff doesn't throw an error