diff --git a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/content.twig b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/content.twig index be5f0ddd7..0240d9a61 100644 --- a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/content.twig +++ b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/content.twig @@ -26,7 +26,7 @@ - {{ addBlock('ad-detail/content',{'features':features,'adv':adv, 'qrSRC': qrSRC})|raw }} + {{ addBlock('ad-detail/content',{'features':features,'adv':adv, 'profile': profile})|raw }} diff --git a/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php b/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php index f7bde07c0..fd3af9783 100644 --- a/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php +++ b/addons/default/visiosoft/advs-module/src/Http/Controller/advsController.php @@ -301,11 +301,6 @@ class AdvsController extends PublicController } $this->event->dispatch(new viewAd($adv));//view ad - $isActiveqrContact = $this->adv_model->is_enabled('qrcontact'); - if ($isActiveqrContact) { - $qrModel = new QrModel(); - $qrSRC = $qrModel->source($adv); - } $this->template->set('meta_keywords', implode(',', explode(' ', $adv->name))); $this->template->set('meta_description', strip_tags($adv->advs_desc, '')); $this->template->set('meta_title', $adv->name . "|" . end($categories)['name']);