|
@@ -141,6 +141,7 @@ foreach ($ways2cut as $way_key => $xpoint_keys) {
|
|
|
|
|
|
|
|
$sub_xpoints = array();
|
|
$sub_xpoints = array();
|
|
|
foreach (array_keys($distances) as $xpoint_key) {
|
|
foreach (array_keys($distances) as $xpoint_key) {
|
|
|
|
|
+ if($xpoints[$xpoint_key]) // if sypie errorami
|
|
|
$sub_xpoints[] = Vendor_Geophp::load($xpoints[$xpoint_key]);
|
|
$sub_xpoints[] = Vendor_Geophp::load($xpoints[$xpoint_key]);
|
|
|
}
|
|
}
|
|
|
|
|
|