]>
git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Repository/EntryRepository.php
->getQuery()
->getResult();
- if (count($res) > 1) {
- return next($res);
+ if (count($res)) {
+ return current($res);
}
return false;