[Phphtmllib-devel] SF.net SVN: phphtmllib:[3495] trunk/open2300/lib/modules/api/ AviationWeather.in
Status: Beta
Brought to you by:
hemna
|
From: <he...@us...> - 2010-06-17 18:26:31
|
Revision: 3495
http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3495&view=rev
Author: hemna
Date: 2010-06-17 18:26:25 +0000 (Thu, 17 Jun 2010)
Log Message:
-----------
added icao
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 18:20:38 UTC (rev 3494)
+++ trunk/open2300/lib/modules/api/AviationWeather.inc 2010-06-17 18:26:25 UTC (rev 3495)
@@ -54,7 +54,7 @@
public function process_airport($icao) {
- $wxInfo = array();
+ $wxInfo = array("icao" => strtoupper($icao));
$metar = $this->get_metar($icao, $wxInfo);
if ($metar != null && strlen($metar) > 0) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|