Update of /cvsroot/phpweather/phpweather-1.x
In directory usw-pr-cvs1:/tmp/cvs-serv11478
Modified Files:
phpweather.inc
Log Message:
Bug found by Carlos Eduardo Strauch <cst...@cd...> - thanks!
Index: phpweather.inc
===================================================================
RCS file: /cvsroot/phpweather/phpweather-1.x/phpweather.inc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- phpweather.inc 13 Jun 2002 21:59:07 -0000 1.6
+++ phpweather.inc 26 Jun 2002 12:14:13 -0000 1.7
@@ -689,8 +689,8 @@
/* A strange value. When you look at other pages you see it
interpreted like this (where I use > to signify 'Greater
than'): */
- $decoded_metar['visibility_miles'] = '>7';
- $decoded_metar['visibility_km'] = '>11.3';
+ $decoded_metar['visibility_miles'] = '>6.2';
+ $decoded_metar['visibility_km'] = '>10';
} elseif(ereg('^([0-9]{4})$', $part, $regs)) {
/*
* Visibility in meters (4 digits only)
|