Re: Bug
Brought to you by:
iridium
From: Martin G. <gim...@gi...> - 2002-02-24 00:01:11
|
"Ray van Beek" <r_v...@ho...> writes: > I have seen similar texts. For example, take the next metar: > > EHEH 231555Z 27013KT 9999 FEW018 03/01 Q0996 BLU > > It doesn't specify any precipitation or other weather phenomena. > Therefor, the $weather_str stays empty, leading to the missing text. > Maybe this should be changed to omitting the entire line ('Current > weather is .')? But if $weather_str is left as the empty string, then it shouldn't be able to sneak 'Current weather is' into the report :-) $weather_str is copied directly to the output, it's not prefixed with 'Current weather' or anything like that. -- Martin Geisler My GnuPG Key: 0xF7F6B57B See my homepage at http://www.gimpster.com/ for: PHP Weather => Shows the current weather on your webpage. PHP Shell => A telnet-connection (almost :-) in a PHP page. |