fix from prod
This commit is contained in:
parent
706316a033
commit
ece95c4c03
@ -253,7 +253,7 @@ class LandingPages extends Module {
|
||||
$on_home = 0;
|
||||
$lp = Tools::getValue('lpes');
|
||||
|
||||
if(_PS_MOBILE_ || _THEME_NAME_ == 'site_mobile') {
|
||||
if($lp && _PS_MOBILE_ && _THEME_NAME_ == 'site_mobile') {
|
||||
$link = new Link();
|
||||
Tools::redirectLink($link->getPageLink('authentication.php').'?create_account=1'.(isset($lp)? '&lp='.$lp: ''));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user