Compare commits
1 Commits
dev
...
ticket/r13
Author | SHA1 | Date | |
---|---|---|---|
|
d3fa5bfffa |
@ -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