organic: Add external LKV api
This commit is contained in:
@@ -164,7 +164,7 @@ if ($format === 'text') {
|
||||
$operator = preg_split('@\s+@', trim($data['I.3']));
|
||||
$p1 = array_search($splitAddr, $operator);
|
||||
$p2 = array_search($splitCountry, $operator);
|
||||
$operatorName = implode(' ', array_filter($operator, fn($k,$i) => $i > 0 && $i < $p1, ARRAY_FILTER_USE_BOTH));
|
||||
$operatorName = trim(implode(' ', array_filter($operator, fn($k,$i) => $i > 0 && $i < $p1, ARRAY_FILTER_USE_BOTH)), ', ');
|
||||
[$opAddr, $opPostal, $opCity] = get_address($operator, $p1 + 1, $p2 - 1);
|
||||
|
||||
$authority = preg_split('@\s+@', trim($data['I.4']));
|
||||
|
Reference in New Issue
Block a user