X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FRepository%2FEntryRepository.php;h=1b023e960817154b3c2240fe6f2f6e78ad7486a9;hb=18b8dc0e9984fce01b231810347fef7d32c06ac7;hp=302e5a5387c6a64c72f79594d598988f288c6539;hpb=6f23289e721bd14710af1acc23466432c1312850;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index 302e5a53..1b023e96 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php @@ -281,7 +281,7 @@ class EntryRepository extends EntityRepository public function findByUrlAndUserId($url, $userId) { $res = $this->createQueryBuilder('e') - ->where('e.url = :url')->setParameter('url', $url) + ->where('e.url = :url')->setParameter('url', urldecode($url)) ->andWhere('e.user = :user_id')->setParameter('user_id', $userId) ->getQuery() ->getResult();