fix from prod

This commit is contained in:
root 2017-05-02 14:39:14 +02:00
parent 706316a033
commit ece95c4c03

View File

@ -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: ''));
}