[horde] [patch] weatherdotcom.php

Daniel Eckl daniel.eckl at gmx.de
Sun Apr 18 04:06:56 PDT 2004


Because of a typo in the xml output of weather.com, we need to keep the
typo into the weatherdotcom.php $day index.

Patch attached.

Greets,
Daniel
-------------- next part --------------
--- horde/lib/Block/weatherdotcom.php.orig	Sun Apr 18 13:03:29 2004
+++ horde/lib/Block/weatherdotcom.php	Sun Apr 18 13:02:40 2004
@@ -248,7 +248,7 @@
             // forecast is no longer valid.
             if ($which > 0 || ($which == 0 &&
                 (strtotime($location['time']) < strtotime('14:00')))) {
-                $html .= '<span style="color:red">' . round($day['temperatureHigh']) .
+                $html .= '<span style="color:red">' . round($day['tempertureHigh']) .
                     '&deg;' . String::upper($units['temp']) . '</span>/';
             }
             $html .= '<span style="color:blue">' . round($day['temperatureLow']) .


More information about the horde mailing list