Skip to content

Commit

Permalink
fixed previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Dec 30, 2010
1 parent 46bf30d commit b77a6e7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -73,7 +73,7 @@ protected function findOneBy($class, Request $request)
}

if (!$criteria) {
return false;
return null;
}

return $this->manager->getRepository($class)->findOneBy($criteria);
Expand Down

0 comments on commit b77a6e7

Please sign in to comment.