Fix error 500
This commit is contained in:
parent
db99007cc5
commit
177c3a2397
@ -39,7 +39,7 @@ class FrontController extends FrontControllerCore
|
||||
public function init()
|
||||
{
|
||||
// Detection provenance campagne email depuis mobile et non connecté
|
||||
if ($this->context->mobile_detect->isMobile() && !Customer::isLogged()){
|
||||
if ($this->context->getMobileDevice() && !Customer::isLogged()){
|
||||
$popup = Tools::getValue('popup');
|
||||
$source = Tools::getValue('source');
|
||||
if ($popup == 1 && !empty($source)) {
|
||||
|
Loading…
Reference in New Issue
Block a user