Explorar el Código

kolejny if - sypie errorami

a.binder hace 9 años
padre
commit
f98d15d66a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      SE/dev/php-cli/biale_plamy-generate_data.php

+ 1 - 0
SE/dev/php-cli/biale_plamy-generate_data.php

@@ -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]);
 	}
 	}