bug fix in sell pdf generator for customer
This commit is contained in:
parent
b23cfe61bd
commit
01f07129c5
|
@ -98,7 +98,8 @@ class ShortlinksController extends AbstractController
|
||||||
{
|
{
|
||||||
$doc = $entityManager->getRepository(HesabdariDoc::class)->findOneBy([
|
$doc = $entityManager->getRepository(HesabdariDoc::class)->findOneBy([
|
||||||
'type' => 'sell',
|
'type' => 'sell',
|
||||||
'id' => $link
|
'bid' => $bid,
|
||||||
|
'shortlink' => $link
|
||||||
]);
|
]);
|
||||||
if (!$doc)
|
if (!$doc)
|
||||||
throw $this->createNotFoundException();
|
throw $this->createNotFoundException();
|
||||||
|
|
Loading…
Reference in a new issue