Skip to content

Commit a50e0a2

Browse files
authored
Update mobile.api.php
1 parent c28c0e5 commit a50e0a2

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
@@ -598,7 +598,7 @@ function saveMenuFromAppV2($menu, $mobile)
598598
$transmitions = $params['transmition'];
599599
$errorCount = 0;
600600
foreach ($transmitions as $transmition) {
601-
if ($transmition['event'] == 'geofence') {
601+
if (isset($transmition['event']) && $transmition['event'] == 'geofence') {
602602
log::add('mobile', 'debug', '| Transmition :' . json_encode($params['transmition']));
603603
$geofence = $transmition['geofence'];
604604
log::add('mobile', 'debug', '| Event > ' . json_encode($geofence));

0 commit comments

Comments
 (0)