diff --git a/hesabixCore/src/Controller/Front/ShortlinksController.php b/hesabixCore/src/Controller/Front/ShortlinksController.php index 60a2eed..6ee8942 100644 --- a/hesabixCore/src/Controller/Front/ShortlinksController.php +++ b/hesabixCore/src/Controller/Front/ShortlinksController.php @@ -98,7 +98,8 @@ class ShortlinksController extends AbstractController { $doc = $entityManager->getRepository(HesabdariDoc::class)->findOneBy([ 'type' => 'sell', - 'id' => $link + 'bid' => $bid, + 'shortlink' => $link ]); if (!$doc) throw $this->createNotFoundException();