Skip to content

Commit

Permalink
no static configMenuCustom
Browse files Browse the repository at this point in the history
  • Loading branch information
Phpvarious authored Oct 7, 2024
1 parent 38dcaf5 commit 0e594e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/api/mobile.api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 0e594e4

Please sign in to comment.