Commit cc49d5fb authored by nicola85's avatar nicola85

Avoid types duplication

parent bd65cbdc
......@@ -611,6 +611,7 @@ function bat_api_services_units_index_calendar($unit_types, $unit_ids, $event_ty
}
else {
$types = array_filter(explode(',', $unit_types));
$types = array_unique($types);
}
$bat_event_type = bat_event_type_load($event_type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment