mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#11118 Evaluate if exist array
This commit is contained in:
parent
dab73a6972
commit
739414abae
@ -520,8 +520,7 @@ if ((bool) $config['activate_gis'] === true) {
|
||||
$dataPositionAgent = gis_get_data_last_position_agent(
|
||||
$agent['id_agente']
|
||||
);
|
||||
|
||||
if ($dataPositionAgent === true) {
|
||||
if (is_array($dataPositionAgent) === true && $dataPositionAgent['stored_longitude'] !== '' && $dataPositionAgent['stored_longitude'] !== '') {
|
||||
$data_opcional->data['agent_position'][0] = __('Position (Long, Lat)');
|
||||
|
||||
$dataOptionalOutput = html_print_anchor(
|
||||
|
Loading…
x
Reference in New Issue
Block a user