[Phphtmllib-devel] SF.net SVN: phphtmllib:[3479] trunk/open2300/lib/modules/api/ AviationWeather.in
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2010-06-17 01:41:30
|
Revision: 3479 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3479&view=rev Author: hemna Date: 2010-06-17 01:41:24 +0000 (Thu, 17 Jun 2010) Log Message: ----------- bleh Modified Paths: -------------- trunk/open2300/lib/modules/api/AviationWeather.inc Modified: trunk/open2300/lib/modules/api/AviationWeather.inc =================================================================== --- trunk/open2300/lib/modules/api/AviationWeather.inc 2010-06-17 01:36:22 UTC (rev 3478) +++ trunk/open2300/lib/modules/api/AviationWeather.inc 2010-06-17 01:41:24 UTC (rev 3479) @@ -72,14 +72,15 @@ $runways = &$airport["runways"]; $info = array(); - foreach($runways as &$runway) { + $number = $runway["runway_number"]; $width = $runway["runway_width"] * 3.2808399; $xw = $this->do_crosswind($runway, $wxInfo["Wind"]); $info[] = array("runway" => $runway["runway_number"], "length" => $runway["length"], "crosswind" => $runway["crosswind"], - "headwind" => $runway["headwind"]); + "headwind" => $runway["headwind"]); + } @@ -103,7 +104,6 @@ $m = round(abs($speed*cos($p)),1); $runway["crosswind2"] = $q; - $runway["headwind"] = $m; if ($left_right <0) { $runway["xw_direction"] = "left"; @@ -545,6 +545,9 @@ } } + + + } ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |