diff --git a/core/api/mobile.api.php b/core/api/mobile.api.php index aec0b013..8e2570ae 100755 --- a/core/api/mobile.api.php +++ b/core/api/mobile.api.php @@ -78,9 +78,8 @@ function createMobile($params){ function checkDateMenu($menu, $mobile){ $dateMobile = $mobile->getConfiguration('DateMenu', 'pasdedate'); - $dateMenuFromApp = $menu['date']; if(isset($dateMobile) && isset($menu['date'])){ - if($dateMobile < $dateMenuFromApp){ + if($dateMobile < $menu['date']){ log::add('mobile','debug','SAVE MENU DEPUIS L APP'); saveMenuFromAppV2($menu, $mobile); }else{