mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
ent 9098 insert_gis_data
This commit is contained in:
parent
1e590728aa
commit
2262754eaf
@ -266,7 +266,7 @@ sub help_screen{
|
||||
sub api_call($$$;$$$$) {
|
||||
my ($pa_config, $op, $op2, $id, $id2, $other, $return_type) = @_;
|
||||
my $content = undef;
|
||||
|
||||
|
||||
eval {
|
||||
# Set the parameters for the POST request.
|
||||
my $params = {};
|
||||
@ -294,7 +294,7 @@ sub api_call($$$;$$$$) {
|
||||
$content = $response->decoded_content();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
@ -8054,7 +8054,7 @@ sub pandora_manage_main ($$$) {
|
||||
cli_get_gis_agent();
|
||||
}
|
||||
elsif ($param eq '--insert_gis_data'){
|
||||
# param_check($ltotal, 4, 0);
|
||||
param_check($ltotal, 4, 0);
|
||||
cli_insert_gis_data();
|
||||
}
|
||||
else {
|
||||
@ -8805,4 +8805,4 @@ sub cli_insert_gis_data(){
|
||||
my $result = api_call(\%conf,'set', 'gis_agent_only_position', $agent_id, undef, "$other");
|
||||
print "$result \n\n ";
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user