Skip to content

Commit 35d37fa

Browse files
committed
fix getConfiguration
1 parent ffffbd4 commit 35d37fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/api/mobile.api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ function saveMenuFromAppV2($menu, $mobile)
351351
$return[$idBox]['configs']['menu'] = mobile::getMenuDefaultTab();
352352
$return[$idBox]['miscellanousParams']['hideMenuCustom'] = 0;
353353
$return[$idBox]['miscellanousParams']['hideMenuGeoloc'] = 0;
354-
$return[$idBox]['miscellanousParams']['sendNFCDirectly'] = intval($mobile->getConfiguration('sendNFCDirectly', 1));
354+
$return[$idBox]['miscellanousParams']['sendNFCDirectly'] = 1;
355355
}
356356
log::add('mobile', 'debug', '| [INFO] CustomENVOICONFIGSAPI GETJSON > ' . json_encode($return[$idBox]['configs']));
357357
log::add('mobile', 'debug', '| [INFO] Retour vers App > ' . json_encode($return));

0 commit comments

Comments
 (0)