Преглед изворни кода

kolejny if - sypie errorami

a.binder пре 9 година
родитељ
комит
f98d15d66a
1 измењених фајлова са 1 додато и 0 уклоњено
  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();
 	foreach (array_keys($distances) as $xpoint_key) {
+		if($xpoints[$xpoint_key]) // if sypie errorami
 		$sub_xpoints[] = Vendor_Geophp::load($xpoints[$xpoint_key]);
 	}