From 0e594e467ac0c4983deffca4c1a56d9a046b31bd Mon Sep 17 00:00:00 2001 From: David <79108364+Phpvarious@users.noreply.github.com> Date: Mon, 7 Oct 2024 22:26:13 +0200 Subject: [PATCH] no static configMenuCustom --- core/api/mobile.api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/api/mobile.api.php b/core/api/mobile.api.php index f27a0992..dbd07044 100755 --- a/core/api/mobile.api.php +++ b/core/api/mobile.api.php @@ -310,7 +310,7 @@ function saveMenuFromAppV2($menu, $mobile) $return[$idBox]['configs'] = array(); if (is_object($mobile)) { log::add('mobile', 'debug', '| OK Mobile trouvé > ' . $mobile->getName()); - $return[$idBox]['configs']['menu'] = mobile::configMenuCustom($mobile->getId(), jeedom::version()); + $return[$idBox]['configs']['menu'] = $mobile->configMenuCustom(); /* Hide some menus by configuration */ $return[$idBox]['configs']['hideMenuCustom'] = intval($mobile->getConfiguration('hideMenuCustom', 0)); $return[$idBox]['configs']['hideMenuGeoloc'] = intval($mobile->getConfiguration('hideMenuGeoloc', 0));