Update of /cvsroot/phpweather/phpweather/db
In directory usw-pr-cvs1:/tmp/cvs-serv9231
Modified Files:
pw_db_dba.php
Log Message:
Sort this as well.
Index: pw_db_dba.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/db/pw_db_dba.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- pw_db_dba.php 26 Mar 2002 18:50:06 -0000 1.7
+++ pw_db_dba.php 26 Aug 2002 13:17:09 -0000 1.8
@@ -352,6 +352,9 @@
explode(':', dba_fetch($icao, $this->link_stations_id));
$locations[$icao] = $location;
}
+
+ asort($locations);
+
return $locations;
}
|